Skip to content

Conversation

@sokra
Copy link
Member

@sokra sokra commented Jan 9, 2026

No description provided.

Copy link
Member Author

sokra commented Jan 9, 2026

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

@nextjs-bot
Copy link
Collaborator

Allow CI Workflow Run

  • approve CI run for commit: 736c5da

Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer

Copy link
Contributor

@vercel vercel bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Additional Suggestion:

Code loads a task with TaskDataCategory::Data but then tries to access the InProgress field which belongs to TaskDataCategory::All, causing the field access to fail and silently miss the intended modification

Fix on Vercel

@codspeed-hq
Copy link

codspeed-hq bot commented Jan 12, 2026

Merging this PR will not alter performance

✅ 17 untouched benchmarks
⏩ 3 skipped benchmarks1


Comparing sokra/read-cell-data (683ed33) with canary (a43b362)2

Open in CodSpeed

Footnotes

  1. 3 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

  2. No successful run was found on sokra/task-prio (b9232ff) during the generation of this report, so canary (a43b362) was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.

@nextjs-bot
Copy link
Collaborator

nextjs-bot commented Jan 12, 2026

Stats from current PR

✅ No significant changes detected

📊 All Metrics
📖 Metrics Glossary

Dev Server Metrics:

  • Listen = TCP port starts accepting connections
  • First Request = HTTP server returns successful response
  • Cold = Fresh build (no cache)
  • Warm = With cached build artifacts

Build Metrics:

  • Fresh = Clean build (no .next directory)
  • Cached = With existing .next directory

Change Thresholds:

  • Time: Changes < 50ms AND < 10%, OR < 2% are insignificant
  • Size: Changes < 1KB AND < 1% are insignificant
  • All other changes are flagged to catch regressions

⚡ Dev Server

Metric Canary PR Change Trend
Cold (Listen) 455ms 455ms ▁▁▁▁▁
Cold (Ready in log) 437ms 436ms ▁▂▂▂▂
Cold (First Request) 1.110s 1.171s ▁▄▄▄▄
Warm (Listen) 457ms 457ms ▁▁▁▁▁
Warm (Ready in log) 446ms 440ms ▁▁▁▁▁
Warm (First Request) 342ms 334ms ▁▁▁▁▁
📦 Dev Server (Webpack) (Legacy)

📦 Dev Server (Webpack)

Metric Canary PR Change Trend
Cold (Listen) 455ms 455ms ▁▁▁▁█
Cold (Ready in log) 440ms 439ms ▃▄▁▄█
Cold (First Request) 1.839s 1.848s ▂▂▁▂█
Warm (Listen) 456ms 456ms ▁▁▁▁█
Warm (Ready in log) 439ms 439ms ▃▃▁▄█
Warm (First Request) 1.859s 1.849s ▂▂▁▂█

⚡ Production Builds

Metric Canary PR Change Trend
Fresh Build 3.998s 4.019s ▁▁▁▁▁
Cached Build 4.007s 3.987s ▂▁▁▁▁
📦 Production Builds (Webpack) (Legacy)

📦 Production Builds (Webpack)

Metric Canary PR Change Trend
Fresh Build 14.038s 14.077s ▁▁▁▁█
Cached Build 14.134s 14.125s ▁▁▁▁█
node_modules Size 458 MB 458 MB ▁▁▁▁▁
📦 Bundle Sizes

Bundle Sizes

⚡ Turbopack

Client

Main Bundles: **431 kB** → **431 kB** ✅ -7 B

82 files with content-based hashes (individual files not comparable between builds)

Server

Middleware
Canary PR Change
middleware-b..fest.js gzip 789 B 792 B
Total 789 B 792 B ⚠️ +3 B
Build Details
Build Manifests
Canary PR Change
_buildManifest.js gzip 450 B 450 B
Total 450 B 450 B

📦 Webpack

Client

Main Bundles
Canary PR Change
2086.HASH.js gzip 169 B N/A -
2161-HASH.js gzip 5.41 kB N/A -
2747-HASH.js gzip 4.48 kB N/A -
4322-HASH.js gzip 52.8 kB N/A -
ec793fe8-HASH.js gzip 62.3 kB N/A -
framework-HASH.js gzip 59.8 kB 59.8 kB
main-app-HASH.js gzip 251 B 254 B 🔴 +3 B (+1%)
main-HASH.js gzip 38.6 kB 39 kB
webpack-HASH.js gzip 1.68 kB 1.68 kB
1596.HASH.js gzip N/A 169 B -
2658-HASH.js gzip N/A 52.7 kB -
6349-HASH.js gzip N/A 4.46 kB -
7019-HASH.js gzip N/A 5.43 kB -
b17a3386-HASH.js gzip N/A 62.3 kB -
Total 225 kB 226 kB ⚠️ +245 B
Polyfills
Canary PR Change
polyfills-HASH.js gzip 39.4 kB 39.4 kB
Total 39.4 kB 39.4 kB
Pages
Canary PR Change
_app-HASH.js gzip 194 B 193 B
_error-HASH.js gzip 182 B 182 B
css-HASH.js gzip 336 B 335 B
dynamic-HASH.js gzip 1.8 kB 1.8 kB
edge-ssr-HASH.js gzip 256 B 256 B
head-HASH.js gzip 352 B 349 B
hooks-HASH.js gzip 385 B 384 B
image-HASH.js gzip 580 B 580 B
index-HASH.js gzip 259 B 258 B
link-HASH.js gzip 2.5 kB 2.51 kB
routerDirect..HASH.js gzip 319 B 317 B
script-HASH.js gzip 385 B 387 B
withRouter-HASH.js gzip 316 B 315 B
1afbb74e6ecf..834.css gzip 106 B 106 B
Total 7.97 kB 7.96 kB ✅ -8 B

Server

Edge SSR
Canary PR Change
edge-ssr.js gzip 125 kB 125 kB
page.js gzip 242 kB 242 kB
Total 366 kB 367 kB ⚠️ +477 B
Middleware
Canary PR Change
middleware-b..fest.js gzip 652 B 653 B
middleware-r..fest.js gzip 155 B 156 B
middleware.js gzip 33.1 kB 33.3 kB
edge-runtime..pack.js gzip 842 B 842 B
Total 34.8 kB 34.9 kB ⚠️ +181 B
Build Details
Build Manifests
Canary PR Change
_buildManifest.js gzip 738 B 738 B
Total 738 B 738 B
Build Cache
Canary PR Change
0.pack gzip 3.67 MB 3.67 MB 🔴 +7.14 kB (+0%)
index.pack gzip 101 kB 99.7 kB 🟢 1.01 kB (-1%)
index.pack.old gzip 100 kB 101 kB
Total 3.87 MB 3.87 MB ⚠️ +6.75 kB

🔄 Shared (bundler-independent)

Runtimes
Canary PR Change
app-page-exp...dev.js gzip 304 kB 304 kB
app-page-exp..prod.js gzip 158 kB 158 kB
app-page-tur...dev.js gzip 304 kB 304 kB
app-page-tur..prod.js gzip 158 kB 158 kB
app-page-tur...dev.js gzip 300 kB 300 kB
app-page-tur..prod.js gzip 156 kB 156 kB
app-page.run...dev.js gzip 301 kB 301 kB
app-page.run..prod.js gzip 156 kB 156 kB
app-route-ex...dev.js gzip 68.8 kB 68.8 kB
app-route-ex..prod.js gzip 47.6 kB 47.6 kB
app-route-tu...dev.js gzip 68.8 kB 68.8 kB
app-route-tu..prod.js gzip 47.6 kB 47.6 kB
app-route-tu...dev.js gzip 68.4 kB 68.4 kB
app-route-tu..prod.js gzip 47.4 kB 47.4 kB
app-route.ru...dev.js gzip 68.4 kB 68.4 kB
app-route.ru..prod.js gzip 47.3 kB 47.3 kB
dist_client_...dev.js gzip 324 B 324 B
dist_client_...dev.js gzip 326 B 326 B
dist_client_...dev.js gzip 318 B 318 B
dist_client_...dev.js gzip 317 B 317 B
pages-api-tu...dev.js gzip 41.2 kB 41.2 kB
pages-api-tu..prod.js gzip 31.3 kB 31.3 kB
pages-api.ru...dev.js gzip 41.1 kB 41.1 kB
pages-api.ru..prod.js gzip 31.2 kB 31.2 kB
pages-turbo....dev.js gzip 50.8 kB 50.8 kB
pages-turbo...prod.js gzip 38.2 kB 38.2 kB
pages.runtim...dev.js gzip 50.7 kB 50.7 kB
pages.runtim..prod.js gzip 38.2 kB 38.2 kB
server.runti..prod.js gzip 62.2 kB 62.2 kB
Total 2.69 MB 2.69 MB ⚠️ +1 B

@sokra sokra changed the base branch from sokra/task-prio to graphite-base/88339 January 13, 2026 14:29
@sokra sokra force-pushed the sokra/read-cell-data branch from d2375a3 to 8091f69 Compare January 13, 2026 14:31
@sokra sokra force-pushed the graphite-base/88339 branch from 17d5b7b to dc1a119 Compare January 13, 2026 14:31
@sokra sokra changed the base branch from graphite-base/88339 to sokra/task-prio January 13, 2026 14:31
@nextjs-bot
Copy link
Collaborator

nextjs-bot commented Jan 13, 2026

Failing test suites

Commit: 683ed33 | About building and testing Next.js

pnpm test test/integration/client-404/test/index.test.ts (turbopack) (job)

  • create-next-app --app (App Router) > should create JavaScript project with --js flag (DD)
  • create-next-app --app (App Router) > should create TypeScript project with --ts flag (DD)
  • create-next-app --app (App Router) > should create project inside "src" directory with --src-dir flag (DD)
  • create-next-app --app (App Router) > should create TailwindCSS project with --tailwind flag (DD)
  • create-next-app --app (App Router) > should create an empty project with --empty flag (DD)
  • create-next-app --app (App Router) > should create an empty TailwindCSS project with --empty flag (DD)
Expand output

● create-next-app --app (App Router) › should create JavaScript project with --js flag

FetchError: request to http://localhost:36517/ failed, reason: socket hang up

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● create-next-app --app (App Router) › should create TypeScript project with --ts flag

FetchError: request to http://localhost:33531/ failed, reason: socket hang up

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● create-next-app --app (App Router) › should create project inside "src" directory with --src-dir flag

FetchError: request to http://localhost:36075/ failed, reason: socket hang up

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● create-next-app --app (App Router) › should create TailwindCSS project with --tailwind flag

FetchError: request to http://localhost:34657/ failed, reason: socket hang up

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● create-next-app --app (App Router) › should create an empty project with --empty flag

FetchError: request to http://localhost:42923/ failed, reason: socket hang up

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● create-next-app --app (App Router) › should create an empty TailwindCSS project with --empty flag

FetchError: request to http://localhost:36419/ failed, reason: socket hang up

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

pnpm test test/integration/compression/test/index.test.ts (turbopack) (job)

  • Can hot reload CSS Module without losing state > should update CSS color without remounting (DD)
  • Has CSS Module in computed styles in Development > should have CSS for page (DD)
Expand output

● Has CSS Module in computed styles in Development › should have CSS for page

page.goto: net::ERR_CONNECTION_REFUSED at http://localhost:43301/
Call log:
  - navigating to "http://localhost:43301/", waiting until "load"

  343 |     await opts?.beforePageLoad?.(page)
  344 |
> 345 |     await page.goto(url, { waitUntil: opts?.waitUntil ?? 'load' })
      |                ^
  346 |   }
  347 |
  348 |   back(options?: Parameters<Page['goBack']>[0]) {

  at Playwright.goto (lib/browsers/playwright.ts:345:16)
  at webdriver (lib/next-webdriver.ts:156:3)
  at Object.<anonymous> (integration/css-modules/test/index.test.ts:191:21)

● Can hot reload CSS Module without losing state › should update CSS color without remounting

page.goto: net::ERR_EMPTY_RESPONSE at http://localhost:34861/
Call log:
  - navigating to "http://localhost:34861/", waiting until "load"

  343 |     await opts?.beforePageLoad?.(page)
  344 |
> 345 |     await page.goto(url, { waitUntil: opts?.waitUntil ?? 'load' })
      |                ^
  346 |   }
  347 |
  348 |   back(options?: Parameters<Page['goBack']>[0]) {

  at Playwright.goto (lib/browsers/playwright.ts:345:16)
  at webdriver (lib/next-webdriver.ts:156:3)
  at Object.<anonymous> (integration/css-modules/test/index.test.ts:254:21)

pnpm test test/integration/app-document-remove-hmr/test/index.test.ts (turbopack) (job)

  • page features telemetry > detects --turbo correctly for next dev (DD)
  • page features telemetry > detects --turbo correctly for next dev stopped (DD)
Expand output

● page features telemetry › detects --turbo correctly for next dev

TIMED OUT: /NEXT_CLI_SESSION_STARTED/


thread 'tokio-runtime-worker' (3377142) panicked at turbopack/crates/turbo-tasks-backend/src/backend/operation/mod.rs:681:14:
To read data of Meta the task need to be accessed with this category (It's accessed with Data)
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
FATAL: An unexpected Turbopack error occurred:
To read data of Meta the task need to be accessed with this category (It's accessed with Data)

Debug info:
- Execution of ProjectContainer::project failed
- To read data of Meta the task need to be accessed with this category (It's accessed with Data)
Error [TurbopackInternalError]: To read data of Meta the task need to be accessed with this category (It's accessed with Data)

Debug info:
- Execution of ProjectContainer::project failed
- To read data of Meta the task need to be accessed with this category (It's accessed with Data)
    at <unknown> (TurbopackInternalError: To read data of Meta the task need to be accessed with this category (It's accessed with Data)) {
  location: 'turbopack/crates/turbo-tasks-backend/src/backend/operation/mod.rs:681:14'
}


undefined

  724 |   }
  725 |   console.error('TIMED OUT CHECK: ', { regex, content, lastErr })
> 726 |   throw new Error('TIMED OUT: ' + regex + '\n\n' + content + '\n\n' + lastErr)
      |         ^
  727 | }
  728 |
  729 | export class File {

  at check (lib/next-test-utils.ts:726:9)
  at Object.<anonymous> (integration/telemetry/test/page-features.test.ts:30:7)

● page features telemetry › detects --turbo correctly for next dev stopped

TIMED OUT: /NEXT_CLI_SESSION_STARTED/


thread 'tokio-runtime-worker' (3377695) panicked at turbopack/crates/turbo-tasks-backend/src/backend/operation/mod.rs:681:14:
To read data of Meta the task need to be accessed with this category (It's accessed with Data)
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
FATAL: An unexpected Turbopack error occurred:
To read data of Meta the task need to be accessed with this category (It's accessed with Data)

Debug info:
- Execution of ProjectContainer::project failed
- To read data of Meta the task need to be accessed with this category (It's accessed with Data)
Error [TurbopackInternalError]: To read data of Meta the task need to be accessed with this category (It's accessed with Data)

Debug info:
- Execution of ProjectContainer::project failed
- To read data of Meta the task need to be accessed with this category (It's accessed with Data)
    at <unknown> (TurbopackInternalError: To read data of Meta the task need to be accessed with this category (It's accessed with Data)) {
  location: 'turbopack/crates/turbo-tasks-backend/src/backend/operation/mod.rs:681:14'
}


undefined

  724 |   }
  725 |   console.error('TIMED OUT CHECK: ', { regex, content, lastErr })
> 726 |   throw new Error('TIMED OUT: ' + regex + '\n\n' + content + '\n\n' + lastErr)
      |         ^
  727 | }
  728 |
  729 | export class File {

  at check (lib/next-test-utils.ts:726:9)
  at Object.<anonymous> (integration/telemetry/test/page-features.test.ts:66:7)

pnpm test test/integration/dynamic-require/test/index.test.ts (turbopack) (job)

  • create-next-app --no-app (Pages Router) > should create JavaScript project with --js flag (DD)
  • create-next-app --no-app (Pages Router) > should create TypeScript project with --ts flag (DD)
  • create-next-app --no-app (Pages Router) > should create project inside "src" directory with --src-dir flag (DD)
  • create-next-app --no-app (Pages Router) > should create TailwindCSS project with --tailwind flag (DD)
  • create-next-app --no-app (Pages Router) > should create an empty project with --empty flag (DD)
  • create-next-app --no-app (Pages Router) > should create an empty TailwindCSS project with --empty flag (DD)
Expand output

● create-next-app --no-app (Pages Router) › should create JavaScript project with --js flag

FetchError: request to http://localhost:39719/ failed, reason: socket hang up

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● create-next-app --no-app (Pages Router) › should create TypeScript project with --ts flag

FetchError: request to http://localhost:42325/ failed, reason: socket hang up

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● create-next-app --no-app (Pages Router) › should create project inside "src" directory with --src-dir flag

FetchError: request to http://localhost:39029/ failed, reason: socket hang up

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● create-next-app --no-app (Pages Router) › should create TailwindCSS project with --tailwind flag

FetchError: request to http://localhost:37093/ failed, reason: socket hang up

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● create-next-app --no-app (Pages Router) › should create an empty project with --empty flag

FetchError: request to http://localhost:36163/ failed, reason: socket hang up

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● create-next-app --no-app (Pages Router) › should create an empty TailwindCSS project with --empty flag

FetchError: request to http://localhost:45135/ failed, reason: socket hang up

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

pnpm test test/integration/conflicting-public-file-page/test/index.test.ts (turbopack) (job)

  • API routes > dev support > should not strip .json from API route (DD)
  • API routes > dev support > should handle proxying to self correctly (DD)
  • API routes > dev support > should respond from /api/auth/[...nextauth] correctly (DD)
  • API routes > dev support > should handle 204 status correctly (DD)
  • API routes > dev support > should render page (DD)
  • API routes > dev support > should return 404 for undefined path (DD)
  • API routes > dev support > should not conflict with /api routes (DD)
  • API routes > dev support > should set cors headers when adding cors middleware (DD)
  • API routes > dev support > should work with index api (DD)
  • API routes > dev support > should return custom error (DD)
  • API routes > dev support > should throw Internal Server Error (DD)
  • API routes > dev support > should throw Internal Server Error (async) (DD)
  • API routes > dev support > should parse JSON body (DD)
  • API routes > dev support > should special-case empty JSON body (DD)
  • API routes > dev support > should support boolean for JSON in api page (DD)
  • API routes > dev support > should support undefined response body (DD)
  • API routes > dev support > should support string in JSON response body (DD)
  • API routes > dev support > should support null in JSON response body (DD)
  • API routes > dev support > should return error with invalid JSON (DD)
  • API routes > dev support > should parse bigger body then 1mb (DD)
  • API routes > dev support > should support etag spec (DD)
  • API routes > dev support > should parse urlencoded body (DD)
  • API routes > dev support > should parse body in handler (DD)
  • API routes > dev support > should parse body with config (DD)
  • API routes > dev support > should show friendly error for invalid redirect (DD)
  • API routes > dev support > should show friendly error in case of passing null as first argument redirect (DD)
  • API routes > dev support > should redirect with status code 307 (DD)
  • API routes > dev support > should redirect to login (DD)
  • API routes > dev support > should redirect with status code 301 (DD)
  • API routes > dev support > should return empty query object (DD)
  • API routes > dev support > should parse query correctly (DD)
  • API routes > dev support > should return empty cookies object (DD)
  • API routes > dev support > should return cookies object (DD)
  • API routes > dev support > should return 200 on POST on pages (DD)
  • API routes > dev support > should return JSON on post on API (DD)
  • API routes > dev support > should return data on dynamic route (DD)
  • API routes > dev support > should work with dynamic params and search string (DD)
  • API routes > dev support > should work with dynamic params and search string like lambda (DD)
  • API routes > dev support > should prioritize a non-dynamic page (DD)
  • API routes > dev support > should return data on dynamic nested route (DD)
  • API routes > dev support > should 404 on optional dynamic api page (DD)
  • API routes > dev support > should return data on dynamic optional nested route (DD)
  • API routes > dev support > should work with child_process correctly (DD)
  • API routes > dev support > should work with nullable payload (DD)
  • API routes > dev support > should warn if response body is larger than 4MB (DD)
  • API routes > dev support > should not warn if response body is larger than 4MB with responseLimit config = false (DD)
  • API routes > dev support > should warn with configured size if response body is larger than configured size (DD)
  • API routes > dev support > should compile only server code in development (DD)
  • API routes > dev support > should show warning when the API resolves without ending the request in development mode (DD)
  • API routes > dev support > should not show warning when the API resolves and the response is piped (DD)
  • API routes > dev support > should show false positive warning if not using externalResolver flag (DD)
  • API routes > dev support > should not show warning if using externalResolver flag (DD)
Expand output

● API routes › dev support › should not strip .json from API route

FetchError: request to http://localhost:44067/api/hello.json failed, reason: socket hang up

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should handle proxying to self correctly

FetchError: request to http://localhost:44067/api/proxy-self failed, reason: connect ECONNREFUSED 127.0.0.1:44067

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should respond from /api/auth/[...nextauth] correctly

FetchError: request to http://localhost:44067/api/auth/signin failed, reason: connect ECONNREFUSED 127.0.0.1:44067

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should handle 204 status correctly

FetchError: request to http://localhost:44067/api/status-204 failed, reason: connect ECONNREFUSED 127.0.0.1:44067

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should render page

FetchError: request to http://localhost:44067/ failed, reason: connect ECONNREFUSED 127.0.0.1:44067

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should return 404 for undefined path

FetchError: request to http://localhost:44067/api/not/unexisting/page/really failed, reason: connect ECONNREFUSED 127.0.0.1:44067

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should not conflict with /api routes

FetchError: request to http://localhost:44067/api-conflict failed, reason: connect ECONNREFUSED 127.0.0.1:44067

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should set cors headers when adding cors middleware

FetchError: request to http://localhost:44067/api/cors failed, reason: connect ECONNREFUSED 127.0.0.1:44067

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should work with index api

FetchError: request to http://localhost:44067/api failed, reason: connect ECONNREFUSED 127.0.0.1:44067

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should return custom error

FetchError: request to http://localhost:44067/api/error failed, reason: connect ECONNREFUSED 127.0.0.1:44067

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should throw Internal Server Error

FetchError: request to http://localhost:44067/api/user-error failed, reason: connect ECONNREFUSED 127.0.0.1:44067

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should throw Internal Server Error (async)

FetchError: request to http://localhost:44067/api/user-error-async failed, reason: connect ECONNREFUSED 127.0.0.1:44067

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should parse JSON body

FetchError: request to http://localhost:44067/api/parse failed, reason: connect ECONNREFUSED 127.0.0.1:44067

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should special-case empty JSON body

FetchError: request to http://localhost:44067/api/parse failed, reason: connect ECONNREFUSED 127.0.0.1:44067

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should support boolean for JSON in api page

FetchError: request to http://localhost:44067/api/bool failed, reason: connect ECONNREFUSED 127.0.0.1:44067

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should support undefined response body

FetchError: request to http://localhost:44067/api/json-undefined failed, reason: connect ECONNREFUSED 127.0.0.1:44067

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should support string in JSON response body

FetchError: request to http://localhost:44067/api/json-string failed, reason: connect ECONNREFUSED 127.0.0.1:44067

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should support null in JSON response body

FetchError: request to http://localhost:44067/api/json-null failed, reason: connect ECONNREFUSED 127.0.0.1:44067

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should return error with invalid JSON

FetchError: request to http://localhost:44067/api/parse failed, reason: connect ECONNREFUSED 127.0.0.1:44067

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should parse bigger body then 1mb

FetchError: request to http://localhost:44067/api/big-parse failed, reason: connect ECONNREFUSED 127.0.0.1:44067

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should support etag spec

FetchError: request to http://localhost:44067/api/blog failed, reason: connect ECONNREFUSED 127.0.0.1:44067

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should parse urlencoded body

FetchError: request to http://localhost:44067/api/parse failed, reason: connect ECONNREFUSED 127.0.0.1:44067

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should parse body in handler

FetchError: request to http://localhost:44067/api/no-parsing failed, reason: connect ECONNREFUSED 127.0.0.1:44067

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should parse body with config

FetchError: request to http://localhost:44067/api/parsing failed, reason: connect ECONNREFUSED 127.0.0.1:44067

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should show friendly error for invalid redirect

FetchError: request to http://localhost:44067/api/redirect-error failed, reason: connect ECONNREFUSED 127.0.0.1:44067

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should show friendly error in case of passing null as first argument redirect

FetchError: request to http://localhost:44067/api/redirect-null failed, reason: connect ECONNREFUSED 127.0.0.1:44067

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should redirect with status code 307

FetchError: request to http://localhost:44067/api/redirect-307 failed, reason: connect ECONNREFUSED 127.0.0.1:44067

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should redirect to login

FetchError: request to http://localhost:44067/api/redirect-307 failed, reason: connect ECONNREFUSED 127.0.0.1:44067

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should redirect with status code 301

FetchError: request to http://localhost:44067/api/redirect-301 failed, reason: connect ECONNREFUSED 127.0.0.1:44067

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should return empty query object

FetchError: request to http://localhost:44067/api/query failed, reason: connect ECONNREFUSED 127.0.0.1:44067

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should parse query correctly

FetchError: request to http://localhost:44067/api/query?a=1&b=2&a=3 failed, reason: connect ECONNREFUSED 127.0.0.1:44067

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should return empty cookies object

FetchError: request to http://localhost:44067/api/cookies failed, reason: connect ECONNREFUSED 127.0.0.1:44067

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should return cookies object

FetchError: request to http://localhost:44067/api/cookies failed, reason: connect ECONNREFUSED 127.0.0.1:44067

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should return 200 on POST on pages

FetchError: request to http://localhost:44067/user failed, reason: connect ECONNREFUSED 127.0.0.1:44067

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should return JSON on post on API

FetchError: request to http://localhost:44067/api/blog?title=Nextjs failed, reason: connect ECONNREFUSED 127.0.0.1:44067

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should return data on dynamic route

FetchError: request to http://localhost:44067/api/post-1 failed, reason: connect ECONNREFUSED 127.0.0.1:44067

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should work with dynamic params and search string

FetchError: request to http://localhost:44067/api/post-1?val=1 failed, reason: connect ECONNREFUSED 127.0.0.1:44067

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should work with dynamic params and search string like lambda

FetchError: request to http://localhost:44067/api/post-1?val=1 failed, reason: connect ECONNREFUSED 127.0.0.1:44067

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should prioritize a non-dynamic page

FetchError: request to http://localhost:44067/api/post-1/comments failed, reason: connect ECONNREFUSED 127.0.0.1:44067

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should return data on dynamic nested route

FetchError: request to http://localhost:44067/api/post-1/comment-1 failed, reason: connect ECONNREFUSED 127.0.0.1:44067

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should 404 on optional dynamic api page

FetchError: request to http://localhost:44067/api/blog/543/comment failed, reason: connect ECONNREFUSED 127.0.0.1:44067

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should return data on dynamic optional nested route

FetchError: request to http://localhost:44067/api/blog/post-1/comment/1 failed, reason: connect ECONNREFUSED 127.0.0.1:44067

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should work with child_process correctly

FetchError: request to http://localhost:44067/api/child-process failed, reason: connect ECONNREFUSED 127.0.0.1:44067

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should work with nullable payload

FetchError: request to http://localhost:44067/api/nullable-payload failed, reason: connect ECONNREFUSED 127.0.0.1:44067

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should warn if response body is larger than 4MB

FetchError: request to http://localhost:44067/api/large-response failed, reason: connect ECONNREFUSED 127.0.0.1:44067

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should not warn if response body is larger than 4MB with responseLimit config = false

TIMED OUT: success

undefined

FetchError: request to http://localhost:44067/api/large-response-with-config failed, reason: connect ECONNREFUSED 127.0.0.1:44067

  724 |   }
  725 |   console.error('TIMED OUT CHECK: ', { regex, content, lastErr })
> 726 |   throw new Error('TIMED OUT: ' + regex + '\n\n' + content + '\n\n' + lastErr)
      |         ^
  727 | }
  728 |
  729 | export class File {

  at check (lib/next-test-utils.ts:726:9)
  at Object.<anonymous> (integration/api-support/test/index.test.ts:530:5)

● API routes › dev support › should warn with configured size if response body is larger than configured size

TIMED OUT: success

undefined

FetchError: request to http://localhost:44067/api/large-response-with-config-size failed, reason: connect ECONNREFUSED 127.0.0.1:44067

  724 |   }
  725 |   console.error('TIMED OUT CHECK: ', { regex, content, lastErr })
> 726 |   throw new Error('TIMED OUT: ' + regex + '\n\n' + content + '\n\n' + lastErr)
      |         ^
  727 | }
  728 |
  729 | export class File {

  at check (lib/next-test-utils.ts:726:9)
  at Object.<anonymous> (integration/api-support/test/index.test.ts:541:5)

● API routes › dev support › should compile only server code in development

FetchError: request to http://localhost:44067/api/users failed, reason: connect ECONNREFUSED 127.0.0.1:44067

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should show warning when the API resolves without ending the request in development mode

TIMED OUT: /API resolved without sending a response for \/api\/test-no-end, this may result in stalled requests/


thread 'tokio-runtime-worker' (544854) panicked at turbopack/crates/turbo-tasks-backend/src/backend/operation/mod.rs:681:14:
To read data of Meta the task need to be accessed with this category (It's accessed with Data)
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
FATAL: An unexpected Turbopack error occurred:
To read data of Meta the task need to be accessed with this category (It's accessed with Data)

Debug info:
- Execution of ProjectContainer::project failed
- To read data of Meta the task need to be accessed with this category (It's accessed with Data)
Error [TurbopackInternalError]: To read data of Meta the task need to be accessed with this category (It's accessed with Data)

Debug info:
- Execution of ProjectContainer::project failed
- To read data of Meta the task need to be accessed with this category (It's accessed with Data)
    at <unknown> (TurbopackInternalError: To read data of Meta the task need to be accessed with this category (It's accessed with Data)) {
  location: 'turbopack/crates/turbo-tasks-backend/src/backend/operation/mod.rs:681:14'
}


undefined

  724 |   }
  725 |   console.error('TIMED OUT CHECK: ', { regex, content, lastErr })
> 726 |   throw new Error('TIMED OUT: ' + regex + '\n\n' + content + '\n\n' + lastErr)
      |         ^
  727 | }
  728 |
  729 | export class File {

  at check (lib/next-test-utils.ts:726:9)
  at Object.<anonymous> (integration/api-support/test/index.test.ts:574:7)

● API routes › dev support › should not show warning when the API resolves and the response is piped

FetchError: request to http://localhost:44067/api/test-res-pipe?port=44067 failed, reason: connect ECONNREFUSED 127.0.0.1:44067

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should show false positive warning if not using externalResolver flag

FetchError: request to http://localhost:44067/api/external-resolver-false-positive failed, reason: connect ECONNREFUSED 127.0.0.1:44067

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should not show warning if using externalResolver flag

FetchError: request to http://localhost:44067/api/external-resolver failed, reason: connect ECONNREFUSED 127.0.0.1:44067

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

pnpm test-dev test/e2e/app-dir/next-config-ts-native-ts/export-as-default/next-config-ts-export-as-default-esm.test.ts (job)

  • next-config-ts-type-error-cjs > should throw with type error on build (CJS) (DD)
Expand output

● next-config-ts-type-error-cjs › should throw with type error on build (CJS)

FetchError: request to http://localhost:41247/ failed, reason: socket hang up

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

pnpm test-dev test/e2e/app-dir/next-config-ts-native-ts/dynamic-import-esm/next-config-ts-dynamic-import-esm.test.ts (job)

  • next-config-ts-type-error-esm > should throw with type error on build (ESM) (DD)
Expand output

● next-config-ts-type-error-esm › should throw with type error on build (ESM)

FetchError: request to http://localhost:37191/ failed, reason: socket hang up

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

pnpm test test/integration/empty-project/test/index.test.ts (turbopack) (job)

  • Invalid revalidate values > should not show error initially (DD)
  • Invalid revalidate values > should not show error for false revalidate value (DD)
  • Invalid revalidate values > should not show error for true revalidate value (DD)
  • Invalid revalidate values > should show error for string revalidate value (DD)
  • Invalid revalidate values > should show error for null revalidate value (DD)
  • Invalid revalidate values > should show error for float revalidate value (DD)
Expand output

● Invalid revalidate values › should not show error initially

FetchError: request to http://localhost:34595/ssg failed, reason: socket hang up

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● Invalid revalidate values › should not show error for false revalidate value

FetchError: request to http://localhost:34595/ssg failed, reason: connect ECONNREFUSED 127.0.0.1:34595

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● Invalid revalidate values › should not show error for true revalidate value

FetchError: request to http://localhost:34595/ssg failed, reason: connect ECONNREFUSED 127.0.0.1:34595

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● Invalid revalidate values › should show error for string revalidate value

TIMED OUT: /A page's revalidate option must be seconds expressed as a natural number. Mixed numbers and strings cannot be used. Received/

undefined

FetchError: request to http://localhost:34595/ssg failed, reason: connect ECONNREFUSED 127.0.0.1:34595

  724 |   }
  725 |   console.error('TIMED OUT CHECK: ', { regex, content, lastErr })
> 726 |   throw new Error('TIMED OUT: ' + regex + '\n\n' + content + '\n\n' + lastErr)
      |         ^
  727 | }
  728 |
  729 | export class File {

  at check (lib/next-test-utils.ts:726:9)
  at Object.<anonymous> (integration/invalid-revalidate-values/test/index.test.ts:67:7)

● Invalid revalidate values › should show error for null revalidate value

TIMED OUT: /A page's revalidate option must be seconds expressed as a natural number. Mixed numbers and strings cannot be used. Received/

undefined

FetchError: request to http://localhost:34595/ssg failed, reason: connect ECONNREFUSED 127.0.0.1:34595

  724 |   }
  725 |   console.error('TIMED OUT CHECK: ', { regex, content, lastErr })
> 726 |   throw new Error('TIMED OUT: ' + regex + '\n\n' + content + '\n\n' + lastErr)
      |         ^
  727 | }
  728 |
  729 | export class File {

  at check (lib/next-test-utils.ts:726:9)
  at Object.<anonymous> (integration/invalid-revalidate-values/test/index.test.ts:80:7)

● Invalid revalidate values › should show error for float revalidate value

TIMED OUT: /A page's revalidate option must be seconds expressed as a natural number for \/ssg. Mixed numbers, such as/

undefined

FetchError: request to http://localhost:34595/ssg failed, reason: connect ECONNREFUSED 127.0.0.1:34595

  724 |   }
  725 |   console.error('TIMED OUT CHECK: ', { regex, content, lastErr })
> 726 |   throw new Error('TIMED OUT: ' + regex + '\n\n' + content + '\n\n' + lastErr)
      |         ^
  727 | }
  728 |
  729 | export class File {

  at check (lib/next-test-utils.ts:726:9)
  at Object.<anonymous> (integration/invalid-revalidate-values/test/index.test.ts:93:7)

pnpm test test/integration/app-aspath/test/index.test.ts (turbopack) (job)

  • should parse JSON body (DD)

  • should not throw if request body is already parsed in custom middleware (DD)

  • should not throw if request's content-type is invalid (DD)

Expand output

● should parse JSON body

FetchError: request to http://localhost:37427/api failed, reason: socket hang up

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● should not throw if request body is already parsed in custom middleware

thrown: "Exceeded timeout of 60000 ms for a test.
Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."

  28 |   })
  29 |
> 30 |   it('should not throw if request body is already parsed in custom middleware', async () => {
     |   ^
  31 |     await startServer()
  32 |     const data = await makeRequest()
  33 |     expect(data).toEqual([{ title: 'Nextjs' }])

  at it (integration/api-body-parser/test/index.test.ts:30:3)
  at Object.runTests (integration/api-body-parser/test/index.test.ts:87:1)

● should not throw if request's content-type is invalid

thrown: "Exceeded timeout of 60000 ms for a test.
Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."

  35 |   })
  36 |
> 37 |   it("should not throw if request's content-type is invalid", async () => {
     |   ^
  38 |     await startServer()
  39 |     const status = await makeRequestWithInvalidContentType()
  40 |     expect(status).toBe(200)

  at it (integration/api-body-parser/test/index.test.ts:37:3)
  at Object.runTests (integration/api-body-parser/test/index.test.ts:87:1)

pnpm test test/integration/app-functional/test/index.test.ts (turbopack) (job)

  • Dynamic Optional Routing > development mode > invalid pages > should fail to build when optional route has index.js at root (DD)
  • Dynamic Optional Routing > development mode > invalid pages > should fail to build when optional route has same page at root (DD)
  • Dynamic Optional Routing > development mode > invalid pages > should fail to build when mixed with regular catch-all (DD)
  • Dynamic Optional Routing > development mode > invalid pages > should fail to build when optional but no catch-all (DD)
  • Dynamic Optional Routing > development mode > rendering > should render catch-all top-level route with multiple segments (DD)
  • Dynamic Optional Routing > development mode > rendering > should render catch-all top-level route with single segment (DD)
  • Dynamic Optional Routing > development mode > rendering > should render catch-all top-level route with no segments (DD)
  • Dynamic Optional Routing > development mode > rendering > should render catch-all nested route with multiple segments (DD)
  • Dynamic Optional Routing > development mode > rendering > should render catch-all nested route with single segment (DD)
  • Dynamic Optional Routing > development mode > rendering > should render catch-all nested route with no segments (DD)
  • Dynamic Optional Routing > development mode > rendering > should render catch-all nested route with no segments and leading slash (DD)
  • Dynamic Optional Routing > development mode > rendering > should match catch-all api route with multiple segments (DD)
  • Dynamic Optional Routing > development mode > rendering > should match catch-all api route with single segment (DD)
  • Dynamic Optional Routing > development mode > rendering > should match catch-all api route with no segments (DD)
  • Dynamic Optional Routing > development mode > rendering > should match catch-all api route with no segments and leading slash (DD)
  • Dynamic Optional Routing > development mode > rendering > should handle getStaticPaths no segments (DD)
  • Dynamic Optional Routing > development mode > rendering > should handle getStaticPaths no segments and trailing slash (DD)
  • Dynamic Optional Routing > development mode > rendering > should handle getStaticPaths 1 segment (DD)
  • Dynamic Optional Routing > development mode > rendering > should handle getStaticPaths 1 segment and trailing slash (DD)
  • Dynamic Optional Routing > development mode > rendering > should handle getStaticPaths 2 segments (DD)
  • Dynamic Optional Routing > development mode > rendering > should handle getStaticPaths 2 segments and trailing slash (DD)
  • Dynamic Optional Routing > development mode > rendering > should fall back to top-level catch-all (DD)
  • Dynamic Optional Routing > development mode > rendering > should match root path on undefined param (DD)
  • Dynamic Optional Routing > development mode > rendering > should match root path on false param (DD)
  • Dynamic Optional Routing > development mode > rendering > should match root path on null param (DD)
  • Dynamic Optional Routing > development mode > rendering > should handle getStaticPaths with fallback no segments (DD)
  • Dynamic Optional Routing > development mode > rendering > should handle getStaticPaths with fallback 2 segments (DD)
  • Dynamic Optional Routing > development mode > rendering > should fallback correctly when fallback enabled (DD)
Expand output

● Dynamic Optional Routing › development mode › rendering › should render catch-all top-level route with multiple segments

FetchError: request to http://localhost:44543/hello/world failed, reason: socket hang up

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● Dynamic Optional Routing › development mode › rendering › should render catch-all top-level route with single segment

FetchError: request to http://localhost:44543/hello failed, reason: connect ECONNREFUSED 127.0.0.1:44543

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● Dynamic Optional Routing › development mode › rendering › should render catch-all top-level route with no segments

FetchError: request to http://localhost:44543/ failed, reason: connect ECONNREFUSED 127.0.0.1:44543

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● Dynamic Optional Routing › development mode › rendering › should render catch-all nested route with multiple segments

FetchError: request to http://localhost:44543/nested/hello/world failed, reason: connect ECONNREFUSED 127.0.0.1:44543

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● Dynamic Optional Routing › development mode › rendering › should render catch-all nested route with single segment

FetchError: request to http://localhost:44543/nested/hello failed, reason: connect ECONNREFUSED 127.0.0.1:44543

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● Dynamic Optional Routing › development mode › rendering › should render catch-all nested route with no segments

FetchError: request to http://localhost:44543/nested failed, reason: connect ECONNREFUSED 127.0.0.1:44543

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● Dynamic Optional Routing › development mode › rendering › should render catch-all nested route with no segments and leading slash

FetchError: request to http://localhost:44543/nested/ failed, reason: connect ECONNREFUSED 127.0.0.1:44543

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● Dynamic Optional Routing › development mode › rendering › should match catch-all api route with multiple segments

FetchError: request to http://localhost:44543/api/post/ab/cd failed, reason: connect ECONNREFUSED 127.0.0.1:44543

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● Dynamic Optional Routing › development mode › rendering › should match catch-all api route with single segment

FetchError: request to http://localhost:44543/api/post/a failed, reason: connect ECONNREFUSED 127.0.0.1:44543

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● Dynamic Optional Routing › development mode › rendering › should match catch-all api route with no segments

FetchError: request to http://localhost:44543/api/post failed, reason: connect ECONNREFUSED 127.0.0.1:44543

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● Dynamic Optional Routing › development mode › rendering › should match catch-all api route with no segments and leading slash

FetchError: request to http://localhost:44543/api/post/ failed, reason: connect ECONNREFUSED 127.0.0.1:44543

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● Dynamic Optional Routing › development mode › rendering › should handle getStaticPaths no segments

FetchError: request to http://localhost:44543/get-static-paths failed, reason: connect ECONNREFUSED 127.0.0.1:44543

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● Dynamic Optional Routing › development mode › rendering › should handle getStaticPaths no segments and trailing slash

FetchError: request to http://localhost:44543/get-static-paths/ failed, reason: connect ECONNREFUSED 127.0.0.1:44543

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● Dynamic Optional Routing › development mode › rendering › should handle getStaticPaths 1 segment

FetchError: request to http://localhost:44543/get-static-paths/p1 failed, reason: connect ECONNREFUSED 127.0.0.1:44543

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● Dynamic Optional Routing › development mode › rendering › should handle getStaticPaths 1 segment and trailing slash

FetchError: request to http://localhost:44543/get-static-paths/p1/ failed, reason: connect ECONNREFUSED 127.0.0.1:44543

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● Dynamic Optional Routing › development mode › rendering › should handle getStaticPaths 2 segments

FetchError: request to http://localhost:44543/get-static-paths/p2/p3 failed, reason: connect ECONNREFUSED 127.0.0.1:44543

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● Dynamic Optional Routing › development mode › rendering › should handle getStaticPaths 2 segments and trailing slash

FetchError: request to http://localhost:44543/get-static-paths/p2/p3/ failed, reason: connect ECONNREFUSED 127.0.0.1:44543

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● Dynamic Optional Routing › development mode › rendering › should fall back to top-level catch-all

FetchError: request to http://localhost:44543/get-static-paths/hello/world failed, reason: connect ECONNREFUSED 127.0.0.1:44543

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● Dynamic Optional Routing › development mode › rendering › should match root path on undefined param

FetchError: request to http://localhost:44543/get-static-paths-undefined failed, reason: connect ECONNREFUSED 127.0.0.1:44543

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● Dynamic Optional Routing › development mode › rendering › should match root path on false param

FetchError: request to http://localhost:44543/get-static-paths-false failed, reason: connect ECONNREFUSED 127.0.0.1:44543

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● Dynamic Optional Routing › development mode › rendering › should match root path on null param

FetchError: request to http://localhost:44543/get-static-paths-null failed, reason: connect ECONNREFUSED 127.0.0.1:44543

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● Dynamic Optional Routing › development mode › rendering › should handle getStaticPaths with fallback no segments

FetchError: request to http://localhost:44543/get-static-paths-fallback failed, reason: connect ECONNREFUSED 127.0.0.1:44543

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● Dynamic Optional Routing › development mode › rendering › should handle getStaticPaths with fallback 2 segments

FetchError: request to http://localhost:44543/get-static-paths-fallback/p2/p3 failed, reason: connect ECONNREFUSED 127.0.0.1:44543

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● Dynamic Optional Routing › development mode › rendering › should fallback correctly when fallback enabled

FetchError: request to http://localhost:44543/get-static-paths-fallback/hello/world failed, reason: connect ECONNREFUSED 127.0.0.1:44543

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● Dynamic Optional Routing › development mode › invalid pages › should fail to build when optional route has index.js at root

TIMED OUT: /You cannot define a route with the same specificity as a optional catch-all route/


thread 'tokio-runtime-worker' (1485733) panicked at turbopack/crates/turbo-tasks-backend/src/backend/operation/mod.rs:681:14:
To read data of Meta the task need to be accessed with this category (It's accessed with Data)
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
FATAL: An unexpected Turbopack error occurred:
To read data of Meta the task need to be accessed with this category (It's accessed with Data)

Debug info:
- Execution of ProjectContainer::project failed
- To read data of Meta the task need to be accessed with this category (It's accessed with Data)
Error [TurbopackInternalError]: To read data of Meta the task need to be accessed with this category (It's accessed with Data)

Debug info:
- Execution of ProjectContainer::project failed
- To read data of Meta the task need to be accessed with this category (It's accessed with Data)
    at <unknown> (TurbopackInternalError: To read data of Meta the task need to be accessed with this category (It's accessed with Data)) {
  location: 'turbopack/crates/turbo-tasks-backend/src/backend/operation/mod.rs:681:14'
}


undefined

  724 |   }
  725 |   console.error('TIMED OUT CHECK: ', { regex, content, lastErr })
> 726 |   throw new Error('TIMED OUT: ' + regex + '\n\n' + content + '\n\n' + lastErr)
      |         ^
  727 | }
  728 |
  729 | export class File {

  at check (lib/next-test-utils.ts:726:9)
  at Object.<anonymous> (integration/dynamic-optional-routing/test/index.test.ts:190:7)

● Dynamic Optional Routing › development mode › invalid pages › should fail to build when optional route has same page at root

TIMED OUT: /You cannot define a route with the same specificity as a optional catch-all route/


thread 'tokio-runtime-worker' (1485814) panicked at turbopack/crates/turbo-tasks-backend/src/backend/operation/mod.rs:681:14:
To read data of Meta the task need to be accessed with this category (It's accessed with Data)
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
FATAL: An unexpected Turbopack error occurred:
To read data of Meta the task need to be accessed with this category (It's accessed with Data)

Debug info:
- Execution of ProjectContainer::project failed
- To read data of Meta the task need to be accessed with this category (It's accessed with Data)
Error [TurbopackInternalError]: To read data of Meta the task need to be accessed with this category (It's accessed with Data)

Debug info:
- Execution of ProjectContainer::project failed
- To read data of Meta the task need to be accessed with this category (It's accessed with Data)
    at <unknown> (TurbopackInternalError: To read data of Meta the task need to be accessed with this category (It's accessed with Data)) {
  location: 'turbopack/crates/turbo-tasks-backend/src/backend/operation/mod.rs:681:14'
}


undefined

  724 |   }
  725 |   console.error('TIMED OUT CHECK: ', { regex, content, lastErr })
> 726 |   throw new Error('TIMED OUT: ' + regex + '\n\n' + content + '\n\n' + lastErr)
      |         ^
  727 | }
  728 |
  729 | export class File {

  at check (lib/next-test-utils.ts:726:9)
  at Object.<anonymous> (integration/dynamic-optional-routing/test/index.test.ts:204:7)

● Dynamic Optional Routing › development mode › invalid pages › should fail to build when mixed with regular catch-all

TIMED OUT: /You cannot use both .+ at the same level/


thread 'tokio-runtime-worker' (1485919) panicked at turbopack/crates/turbo-tasks-backend/src/backend/operation/mod.rs:681:14:
To read data of Meta the task need to be accessed with this category (It's accessed with Data)
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
FATAL: An unexpected Turbopack error occurred:
To read data of Meta the task need to be accessed with this category (It's accessed with Data)

Debug info:
- Execution of ProjectContainer::project failed
- To read data of Meta the task need to be accessed with this category (It's accessed with Data)
Error [TurbopackInternalError]: To read data of Meta the task need to be accessed with this category (It's accessed with Data)

Debug info:
- Execution of ProjectContainer::project failed
- To read data of Meta the task need to be accessed with this category (It's accessed with Data)
    at <unknown> (TurbopackInternalError: To read data of Meta the task need to be accessed with this category (It's accessed with Data)) {
  location: 'turbopack/crates/turbo-tasks-backend/src/backend/operation/mod.rs:681:14'
}


undefined

  724 |   }
  725 |   console.error('TIMED OUT CHECK: ', { regex, content, lastErr })
> 726 |   throw new Error('TIMED OUT: ' + regex + '\n\n' + content + '\n\n' + lastErr)
      |         ^
  727 | }
  728 |
  729 | export class File {

  at check (lib/next-test-utils.ts:726:9)
  at Object.<anonymous> (integration/dynamic-optional-routing/test/index.test.ts:218:7)

● Dynamic Optional Routing › development mode › invalid pages › should fail to build when optional but no catch-all

TIMED OUT: /Optional route parameters are not yet supported/


thread 'tokio-runtime-worker' (1486005) panicked at turbopack/crates/turbo-tasks-backend/src/backend/operation/mod.rs:681:14:
To read data of Meta the task need to be accessed with this category (It's accessed with Data)
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
FATAL: An unexpected Turbopack error occurred:
To read data of Meta the task need to be accessed with this category (It's accessed with Data)

Debug info:
- Execution of ProjectContainer::project failed
- To read data of Meta the task need to be accessed with this category (It's accessed with Data)
Error [TurbopackInternalError]: To read data of Meta the task need to be accessed with this category (It's accessed with Data)

Debug info:
- Execution of ProjectContainer::project failed
- To read data of Meta the task need to be accessed with this category (It's accessed with Data)
    at <unknown> (TurbopackInternalError: To read data of Meta the task need to be accessed with this category (It's accessed with Data)) {
  location: 'turbopack/crates/turbo-tasks-backend/src/backend/operation/mod.rs:681:14'
}


undefined

  724 |   }
  725 |   console.error('TIMED OUT CHECK: ', { regex, content, lastErr })
> 726 |   throw new Error('TIMED OUT: ' + regex + '\n\n' + content + '\n\n' + lastErr)
      |         ^
  727 | }
  728 |
  729 | export class File {

  at check (lib/next-test-utils.ts:726:9)
  at Object.<anonymous> (integration/dynamic-optional-routing/test/index.test.ts:229:7)

pnpm test-dev test/development/basic/next-rs-api.test.ts (job)

  • next.rs api > should detect the correct routes (DD)
  • next.rs api > should allow to write root page to disk (DD)
  • next.rs api > should allow to write pages edge api to disk (DD)
  • next.rs api > should allow to write pages Node.js api to disk (DD)
  • next.rs api > should allow to write app edge page to disk (DD)
  • next.rs api > should allow to write app Node.js page to disk (DD)
  • next.rs api > should allow to write pages edge page to disk (DD)
  • next.rs api > should allow to write pages Node.js page to disk (DD)
  • next.rs api > should allow to write app edge route to disk (DD)
  • next.rs api > should allow to write app Node.js route to disk (DD)
  • next.rs api > should have working HMR on client-side change on a page 0 (DD)
  • next.rs api > should have working HMR on client-side change on a page 1 (DD)
  • next.rs api > should have working HMR on client-side change on a page 2 (DD)
  • next.rs api > should have working HMR on server-side change on a page 0 (DD)
  • next.rs api > should have working HMR on server-side change on a page 1 (DD)
  • next.rs api > should have working HMR on server-side change on a page 2 (DD)
  • next.rs api > should have working HMR on client and server-side change on a page 0 (DD)
  • next.rs api > should have working HMR on client and server-side change on a page 1 (DD)
  • next.rs api > should have working HMR on client and server-side change on a page 2 (DD)
  • next.rs api > should have working HMR on client-side change on a app page 0 (DD)
  • next.rs api > should have working HMR on client-side change on a app page 1 (DD)
  • next.rs api > should have working HMR on client-side change on a app page 2 (DD)
  • next.rs api > should have working HMR on server-side change on a app page 0 (DD)
  • next.rs api > should have working HMR on server-side change on a app page 1 (DD)
  • next.rs api > should have working HMR on server-side change on a app page 2 (DD)
  • next.rs api writeToDisk multiple times > should allow to write to disk multiple times (DD)
Expand output

● next.rs api writeToDisk multiple times › should allow to write to disk multiple times

expect(received).toBe(expected) // Object.is equality

Expected: 0
Received: 1

  303 |     expect(result.status).toBe(0)
  304 |
> 305 |     await next.destroy()
      |                               ^
  306 |   })
  307 | })
  308 |

  at Object.<anonymous> (development/basic/next-rs-api.test.ts:305:31)

● next.rs api › should detect the correct routes

createNext called without destroying previous instance

  149 |       await nextInstance.destroy()
  150 |       throw new Error(
> 151 |         `next instance not destroyed before exiting, make sure to call .destroy() after the tests after finished`
      |                   ^
  152 |       )
  153 |     }
  154 |   })

  at createNext (lib/e2e-utils/index.ts:151:19)
  at development/basic/next-rs-api.test.ts:313:51
  at Span.traceAsyncFn (../packages/next/dist/trace/trace.js:157:26)
  at Object.<anonymous> (development/basic/next-rs-api.test.ts:312:56)

● next.rs api › should detect the correct routes

TypeError: Cannot read properties of undefined (reading 'testDir')

  336 |           'app/route-nodejs/route.ts':
  337 |             'export function GET() { return Response.json({ hello: "world" }) }',
> 338 |           'app/route-edge/route.ts':
      |                                                         ^
  339 |             'export function GET() { return Response.json({ hello: "world" }) }\nexport const runtime = "edge"',
  340 |         },
  341 |       })

  at Object.<anonymous> (development/basic/next-rs-api.test.ts:338:97)

● next.rs api › should allow to write root page to disk

createNext called without destroying previous instance

  149 |       await nextInstance.destroy()
  150 |       throw new Error(
> 151 |         `next instance not destroyed before exiting, make sure to call .destroy() after the tests after finished`
      |                   ^
  152 |       )
  153 |     }
  154 |   })

  at createNext (lib/e2e-utils/index.ts:151:19)
  at development/basic/next-rs-api.test.ts:313:51
  at Span.traceAsyncFn (../packages/next/dist/trace/trace.js:157:26)
  at Object.<anonymous> (development/basic/next-rs-api.test.ts:312:56)

● next.rs api › should allow to write root page to disk

TypeError: Cannot read properties of undefined (reading 'testDir')

  336 |           'app/route-nodejs/route.ts':
  337 |             'export function GET() { return Response.json({ hello: "world" }) }',
> 338 |           'app/route-edge/route.ts':
      |                                                         ^
  339 |             'export function GET() { return Response.json({ hello: "world" }) }\nexport const runtime = "edge"',
  340 |         },
  341 |       })

  at Object.<anonymous> (development/basic/next-rs-api.test.ts:338:97)

● next.rs api › should allow to write pages edge api to disk

createNext called without destroying previous instance

  149 |       await nextInstance.destroy()
  150 |       throw new Error(
> 151 |         `next instance not destroyed before exiting, make sure to call .destroy() after the tests after finished`
      |                   ^
  152 |       )
  153 |     }
  154 |   })

  at createNext (lib/e2e-utils/index.ts:151:19)
  at development/basic/next-rs-api.test.ts:313:51
  at Span.traceAsyncFn (../packages/next/dist/trace/trace.js:157:26)
  at Object.<anonymous> (development/basic/next-rs-api.test.ts:312:56)

● next.rs api › should allow to write pages edge api to disk

TypeError: Cannot read properties of undefined (reading 'testDir')

  336 |           'app/route-nodejs/route.ts':
  337 |             'export function GET() { return Response.json({ hello: "world" }) }',
> 338 |           'app/route-edge/route.ts':
      |                                                         ^
  339 |             'export function GET() { return Response.json({ hello: "world" }) }\nexport const runtime = "edge"',
  340 |         },
  341 |       })

  at Object.<anonymous> (development/basic/next-rs-api.test.ts:338:97)

● next.rs api › should allow to write pages Node.js api to disk

createNext called without destroying previous instance

  149 |       await nextInstance.destroy()
  150 |       throw new Error(
> 151 |         `next instance not destroyed before exiting, make sure to call .destroy() after the tests after finished`
      |                   ^
  152 |       )
  153 |     }
  154 |   })

  at createNext (lib/e2e-utils/index.ts:151:19)
  at development/basic/next-rs-api.test.ts:313:51
  at Span.traceAsyncFn (../packages/next/dist/trace/trace.js:157:26)
  at Object.<anonymous> (development/basic/next-rs-api.test.ts:312:56)

● next.rs api › should allow to write pages Node.js api to disk

TypeError: Cannot read properties of undefined (reading 'testDir')

  336 |           'app/route-nodejs/route.ts':
  337 |             'export function GET() { return Response.json({ hello: "world" }) }',
> 338 |           'app/route-edge/route.ts':
      |                                                         ^
  339 |             'export function GET() { return Response.json({ hello: "world" }) }\nexport const runtime = "edge"',
  340 |         },
  341 |       })

  at Object.<anonymous> (development/basic/next-rs-api.test.ts:338:97)

● next.rs api › should allow to write app edge page to disk

createNext called without destroying previous instance

  149 |       await nextInstance.destroy()
  150 |       throw new Error(
> 151 |         `next instance not destroyed before exiting, make sure to call .destroy() after the tests after finished`
      |                   ^
  152 |       )
  153 |     }
  154 |   })

  at createNext (lib/e2e-utils/index.ts:151:19)
  at development/basic/next-rs-api.test.ts:313:51
  at Span.traceAsyncFn (../packages/next/dist/trace/trace.js:157:26)
  at Object.<anonymous> (development/basic/next-rs-api.test.ts:312:56)

● next.rs api › should allow to write app edge page to disk

TypeError: Cannot read properties of undefined (reading 'testDir')

  336 |           'app/route-nodejs/route.ts':
  337 |             'export function GET() { return Response.json({ hello: "world" }) }',
> 338 |           'app/route-edge/route.ts':
      |                                                         ^
  339 |             'export function GET() { return Response.json({ hello: "world" }) }\nexport const runtime = "edge"',
  340 |         },
  341 |       })

  at Object.<anonymous> (development/basic/next-rs-api.test.ts:338:97)

● next.rs api › should allow to write app Node.js page to disk

createNext called without destroying previous instance

  149 |       await nextInstance.destroy()
  150 |       throw new Error(
> 151 |         `next instance not destroyed before exiting, make sure to call .destroy() after the tests after finished`
      |                   ^
  152 |       )
  153 |     }
  154 |   })

  at createNext (lib/e2e-utils/index.ts:151:19)
  at development/basic/next-rs-api.test.ts:313:51
  at Span.traceAsyncFn (../packages/next/dist/trace/trace.js:157:26)
  at Object.<anonymous> (development/basic/next-rs-api.test.ts:312:56)

● next.rs api › should allow to write app Node.js page to disk

TypeError: Cannot read properties of undefined (reading 'testDir')

  336 |           'app/route-nodejs/route.ts':
  337 |             'export function GET() { return Response.json({ hello: "world" }) }',
> 338 |           'app/route-edge/route.ts':
      |                                                         ^
  339 |             'export function GET() { return Response.json({ hello: "world" }) }\nexport const runtime = "edge"',
  340 |         },
  341 |       })

  at Object.<anonymous> (development/basic/next-rs-api.test.ts:338:97)

● next.rs api › should allow to write pages edge page to disk

createNext called without destroying previous instance

  149 |       await nextInstance.destroy()
  150 |       throw new Error(
> 151 |         `next instance not destroyed before exiting, make sure to call .destroy() after the tests after finished`
      |                   ^
  152 |       )
  153 |     }
  154 |   })

  at createNext (lib/e2e-utils/index.ts:151:19)
  at development/basic/next-rs-api.test.ts:313:51
  at Span.traceAsyncFn (../packages/next/dist/trace/trace.js:157:26)
  at Object.<anonymous> (development/basic/next-rs-api.test.ts:312:56)

● next.rs api › should allow to write pages edge page to disk

TypeError: Cannot read properties of undefined (reading 'testDir')

  336 |           'app/route-nodejs/route.ts':
  337 |             'export function GET() { return Response.json({ hello: "world" }) }',
> 338 |           'app/route-edge/route.ts':
      |                                                         ^
  339 |             'export function GET() { return Response.json({ hello: "world" }) }\nexport const runtime = "edge"',
  340 |         },
  341 |       })

  at Object.<anonymous> (development/basic/next-rs-api.test.ts:338:97)

● next.rs api › should allow to write pages Node.js page to disk

createNext called without destroying previous instance

  149 |       await nextInstance.destroy()
  150 |       throw new Error(
> 151 |         `next instance not destroyed before exiting, make sure to call .destroy() after the tests after finished`
      |                   ^
  152 |       )
  153 |     }
  154 |   })

  at createNext (lib/e2e-utils/index.ts:151:19)
  at development/basic/next-rs-api.test.ts:313:51
  at Span.traceAsyncFn (../packages/next/dist/trace/trace.js:157:26)
  at Object.<anonymous> (development/basic/next-rs-api.test.ts:312:56)

● next.rs api › should allow to write pages Node.js page to disk

TypeError: Cannot read properties of undefined (reading 'testDir')

  336 |           'app/route-nodejs/route.ts':
  337 |             'export function GET() { return Response.json({ hello: "world" }) }',
> 338 |           'app/route-edge/route.ts':
      |                                                         ^
  339 |             'export function GET() { return Response.json({ hello: "world" }) }\nexport const runtime = "edge"',
  340 |         },
  341 |       })

  at Object.<anonymous> (development/basic/next-rs-api.test.ts:338:97)

● next.rs api › should allow to write app edge route to disk

createNext called without destroying previous instance

  149 |       await nextInstance.destroy()
  150 |       throw new Error(
> 151 |         `next instance not destroyed before exiting, make sure to call .destroy() after the tests after finished`
      |                   ^
  152 |       )
  153 |     }
  154 |   })

  at createNext (lib/e2e-utils/index.ts:151:19)
  at development/basic/next-rs-api.test.ts:313:51
  at Span.traceAsyncFn (../packages/next/dist/trace/trace.js:157:26)
  at Object.<anonymous> (development/basic/next-rs-api.test.ts:312:56)

● next.rs api › should allow to write app edge route to disk

TypeError: Cannot read properties of undefined (reading 'testDir')

  336 |           'app/route-nodejs/route.ts':
  337 |             'export function GET() { return Response.json({ hello: "world" }) }',
> 338 |           'app/route-edge/route.ts':
      |                                                         ^
  339 |             'export function GET() { return Response.json({ hello: "world" }) }\nexport const runtime = "edge"',
  340 |         },
  341 |       })

  at Object.<anonymous> (development/basic/next-rs-api.test.ts:338:97)

● next.rs api › should allow to write app Node.js route to disk

createNext called without destroying previous instance

  149 |       await nextInstance.destroy()
  150 |       throw new Error(
> 151 |         `next instance not destroyed before exiting, make sure to call .destroy() after the tests after finished`
      |                   ^
  152 |       )
  153 |     }
  154 |   })

  at createNext (lib/e2e-utils/index.ts:151:19)
  at development/basic/next-rs-api.test.ts:313:51
  at Span.traceAsyncFn (../packages/next/dist/trace/trace.js:157:26)
  at Object.<anonymous> (development/basic/next-rs-api.test.ts:312:56)

● next.rs api › should allow to write app Node.js route to disk

TypeError: Cannot read properties of undefined (reading 'testDir')

  336 |           'app/route-nodejs/route.ts':
  337 |             'export function GET() { return Response.json({ hello: "world" }) }',
> 338 |           'app/route-edge/route.ts':
      |                                                         ^
  339 |             'export function GET() { return Response.json({ hello: "world" }) }\nexport const runtime = "edge"',
  340 |         },
  341 |       })

  at Object.<anonymous> (development/basic/next-rs-api.test.ts:338:97)

● next.rs api › should have working HMR on client-side change on a page 0

createNext called without destroying previous instance

  149 |       await nextInstance.destroy()
  150 |       throw new Error(
> 151 |         `next instance not destroyed before exiting, make sure to call .destroy() after the tests after finished`
      |                   ^
  152 |       )
  153 |     }
  154 |   })

  at createNext (lib/e2e-utils/index.ts:151:19)
  at development/basic/next-rs-api.test.ts:313:51
  at Span.traceAsyncFn (../packages/next/dist/trace/trace.js:157:26)
  at Object.<anonymous> (development/basic/next-rs-api.test.ts:312:56)

● next.rs api › should have working HMR on client-side change on a page 0

TypeError: Cannot read properties of undefined (reading 'testDir')

  336 |           'app/route-nodejs/route.ts':
  337 |             'export function GET() { return Response.json({ hello: "world" }) }',
> 338 |           'app/route-edge/route.ts':
      |                                                         ^
  339 |             'export function GET() { return Response.json({ hello: "world" }) }\nexport const runtime = "edge"',
  340 |         },
  341 |       })

  at Object.<anonymous> (development/basic/next-rs-api.test.ts:338:97)

● next.rs api › should have working HMR on client-side change on a page 1

createNext called without destroying previous instance

  149 |       await nextInstance.destroy()
  150 |       throw new Error(
> 151 |         `next instance not destroyed before exiting, make sure to call .destroy() after the tests after finished`
      |                   ^
  152 |       )
  153 |     }
  154 |   })

  at createNext (lib/e2e-utils/index.ts:151:19)
  at development/basic/next-rs-api.test.ts:313:51
  at Span.traceAsyncFn (../packages/next/dist/trace/trace.js:157:26)
  at Object.<anonymous> (development/basic/next-rs-api.test.ts:312:56)

● next.rs api › should have working HMR on client-side change on a page 1

TypeError: Cannot read properties of undefined (reading 'testDir')

  336 |           'app/route-nodejs/route.ts':
  337 |             'export function GET() { return Response.json({ hello: "world" }) }',
> 338 |           'app/route-edge/route.ts':
      |                                                         ^
  339 |             'export function GET() { return Response.json({ hello: "world" }) }\nexport const runtime = "edge"',
  340 |         },
  341 |       })

  at Object.<anonymous> (development/basic/next-rs-api.test.ts:338:97)

● next.rs api › should have working HMR on client-side change on a page 2

createNext called without destroying previous instance

  149 |       await nextInstance.destroy()
  150 |       throw new Error(
> 151 |         `next instance not destroyed before exiting, make sure to call .destroy() after the tests after finished`
      |                   ^
  152 |       )
  153 |     }
  154 |   })

  at createNext (lib/e2e-utils/index.ts:151:19)
  at development/basic/next-rs-api.test.ts:313:51
  at Span.traceAsyncFn (../packages/next/dist/trace/trace.js:157:26)
  at Object.<anonymous> (development/basic/next-rs-api.test.ts:312:56)

● next.rs api › should have working HMR on client-side change on a page 2

TypeError: Cannot read properties of undefined (reading 'testDir')

  336 |           'app/route-nodejs/route.ts':
  337 |             'export function GET() { return Response.json({ hello: "world" }) }',
> 338 |           'app/route-edge/route.ts':
      |                                                         ^
  339 |             'export function GET() { return Response.json({ hello: "world" }) }\nexport const runtime = "edge"',
  340 |         },
  341 |       })

  at Object.<anonymous> (development/basic/next-rs-api.test.ts:338:97)

● next.rs api › should have working HMR on server-side change on a page 0

createNext called without destroying previous instance

  149 |       await nextInstance.destroy()
  150 |       throw new Error(
> 151 |         `next instance not destroyed before exiting, make sure to call .destroy() after the tests after finished`
      |                   ^
  152 |       )
  153 |     }
  154 |   })

  at createNext (lib/e2e-utils/index.ts:151:19)
  at development/basic/next-rs-api.test.ts:313:51
  at Span.traceAsyncFn (../packages/next/dist/trace/trace.js:157:26)
  at Object.<anonymous> (development/basic/next-rs-api.test.ts:312:56)

● next.rs api › should have working HMR on server-side change on a page 0

TypeError: Cannot read properties of undefined (reading 'testDir')

  336 |           'app/route-nodejs/route.ts':
  337 |             'export function GET() { return Response.json({ hello: "world" }) }',
> 338 |           'app/route-edge/route.ts':
      |                                                         ^
  339 |             'export function GET() { return Response.json({ hello: "world" }) }\nexport const runtime = "edge"',
  340 |         },
  341 |       })

  at Object.<anonymous> (development/basic/next-rs-api.test.ts:338:97)

● next.rs api › should have working HMR on server-side change on a page 1

createNext called without destroying previous instance

  149 |       await nextInstance.destroy()
  150 |       throw new Error(
> 151 |         `next instance not destroyed before exiting, make sure to call .destroy() after the tests after finished`
      |                   ^
  152 |       )
  153 |     }
  154 |   })

  at createNext (lib/e2e-utils/index.ts:151:19)
  at development/basic/next-rs-api.test.ts:313:51
  at Span.traceAsyncFn (../packages/next/dist/trace/trace.js:157:26)
  at Object.<anonymous> (development/basic/next-rs-api.test.ts:312:56)

● next.rs api › should have working HMR on server-side change on a page 1

TypeError: Cannot read properties of undefined (reading 'testDir')

  336 |           'app/route-nodejs/route.ts':
  337 |             'export function GET() { return Response.json({ hello: "world" }) }',
> 338 |           'app/route-edge/route.ts':
      |                                                         ^
  339 |             'export function GET() { return Response.json({ hello: "world" }) }\nexport const runtime = "edge"',
  340 |         },
  341 |       })

  at Object.<anonymous> (development/basic/next-rs-api.test.ts:338:97)

● next.rs api › should have working HMR on server-side change on a page 2

createNext called without destroying previous instance

  149 |       await nextInstance.destroy()
  150 |       throw new Error(
> 151 |         `next instance not destroyed before exiting, make sure to call .destroy() after the tests after finished`
      |                   ^
  152 |       )
  153 |     }
  154 |   })

  at createNext (lib/e2e-utils/index.ts:151:19)
  at development/basic/next-rs-api.test.ts:313:51
  at Span.traceAsyncFn (../packages/next/dist/trace/trace.js:157:26)
  at Object.<anonymous> (development/basic/next-rs-api.test.ts:312:56)

● next.rs api › should have working HMR on server-side change on a page 2

TypeError: Cannot read properties of undefined (reading 'testDir')

  336 |           'app/route-nodejs/route.ts':
  337 |             'export function GET() { return Response.json({ hello: "world" }) }',
> 338 |           'app/route-edge/route.ts':
      |                                                         ^
  339 |             'export function GET() { return Response.json({ hello: "world" }) }\nexport const runtime = "edge"',
  340 |         },
  341 |       })

  at Object.<anonymous> (development/basic/next-rs-api.test.ts:338:97)

● next.rs api › should have working HMR on client and server-side change on a page 0

createNext called without destroying previous instance

  149 |       await nextInstance.destroy()
  150 |       throw new Error(
> 151 |         `next instance not destroyed before exiting, make sure to call .destroy() after the tests after finished`
      |                   ^
  152 |       )
  153 |     }
  154 |   })

  at createNext (lib/e2e-utils/index.ts:151:19)
  at development/basic/next-rs-api.test.ts:313:51
  at Span.traceAsyncFn (../packages/next/dist/trace/trace.js:157:26)
  at Object.<anonymous> (development/basic/next-rs-api.test.ts:312:56)

● next.rs api › should have working HMR on client and server-side change on a page 0

TypeError: Cannot read properties of undefined (reading 'testDir')

  336 |           'app/route-nodejs/route.ts':
  337 |             'export function GET() { return Response.json({ hello: "world" }) }',
> 338 |           'app/route-edge/route.ts':
      |                                                         ^
  339 |             'export function GET() { return Response.json({ hello: "world" }) }\nexport const runtime = "edge"',
  340 |         },
  341 |       })

  at Object.<anonymous> (development/basic/next-rs-api.test.ts:338:97)

● next.rs api › should have working HMR on client and server-side change on a page 1

createNext called without destroying previous instance

  149 |       await nextInstance.destroy()
  150 |       throw new Error(
> 151 |         `next instance not destroyed before exiting, make sure to call .destroy() after the tests after finished`
      |                   ^
  152 |       )
  153 |     }
  154 |   })

  at createNext (lib/e2e-utils/index.ts:151:19)
  at development/basic/next-rs-api.test.ts:313:51
  at Span.traceAsyncFn (../packages/next/dist/trace/trace.js:157:26)
  at Object.<anonymous> (development/basic/next-rs-api.test.ts:312:56)

● next.rs api › should have working HMR on client and server-side change on a page 1

TypeError: Cannot read properties of undefined (reading 'testDir')

  336 |           'app/route-nodejs/route.ts':
  337 |             'export function GET() { return Response.json({ hello: "world" }) }',
> 338 |           'app/route-edge/route.ts':
      |                                                         ^
  339 |             'export function GET() { return Response.json({ hello: "world" }) }\nexport const runtime = "edge"',
  340 |         },
  341 |       })

  at Object.<anonymous> (development/basic/next-rs-api.test.ts:338:97)

● next.rs api › should have working HMR on client and server-side change on a page 2

createNext called without destroying previous instance

  149 |       await nextInstance.destroy()
  150 |       throw new Error(
> 151 |         `next instance not destroyed before exiting, make sure to call .destroy() after the tests after finished`
      |                   ^
  152 |       )
  153 |     }
  154 |   })

  at createNext (lib/e2e-utils/index.ts:151:19)
  at development/basic/next-rs-api.test.ts:313:51
  at Span.traceAsyncFn (../packages/next/dist/trace/trace.js:157:26)
  at Object.<anonymous> (development/basic/next-rs-api.test.ts:312:56)

● next.rs api › should have working HMR on client and server-side change on a page 2

TypeError: Cannot read properties of undefined (reading 'testDir')

  336 |           'app/route-nodejs/route.ts':
  337 |             'export function GET() { return Response.json({ hello: "world" }) }',
> 338 |           'app/route-edge/route.ts':
      |                                                         ^
  339 |             'export function GET() { return Response.json({ hello: "world" }) }\nexport const runtime = "edge"',
  340 |         },
  341 |       })

  at Object.<anonymous> (development/basic/next-rs-api.test.ts:338:97)

● next.rs api › should have working HMR on client-side change on a app page 0

createNext called without destroying previous instance

  149 |       await nextInstance.destroy()
  150 |       throw new Error(
> 151 |         `next instance not destroyed before exiting, make sure to call .destroy() after the tests after finished`
      |                   ^
  152 |       )
  153 |     }
  154 |   })

  at createNext (lib/e2e-utils/index.ts:151:19)
  at development/basic/next-rs-api.test.ts:313:51
  at Span.traceAsyncFn (../packages/next/dist/trace/trace.js:157:26)
  at Object.<anonymous> (development/basic/next-rs-api.test.ts:312:56)

● next.rs api › should have working HMR on client-side change on a app page 0

TypeError: Cannot read properties of undefined (reading 'testDir')

  336 |           'app/route-nodejs/route.ts':
  337 |             'export function GET() { return Response.json({ hello: "world" }) }',
> 338 |           'app/route-edge/route.ts':
      |                                                         ^
  339 |             'export function GET() { return Response.json({ hello: "world" }) }\nexport const runtime = "edge"',
  340 |         },
  341 |       })

  at Object.<anonymous> (development/basic/next-rs-api.test.ts:338:97)

● next.rs api › should have working HMR on client-side change on a app page 1

createNext called without destroying previous instance

  149 |       await nextInstance.destroy()
  150 |       throw new Error(
> 151 |         `next instance not destroyed before exiting, make sure to call .destroy() after the tests after finished`
      |                   ^
  152 |       )
  153 |     }
  154 |   })

  at createNext (lib/e2e-utils/index.ts:151:19)
  at development/basic/next-rs-api.test.ts:313:51
  at Span.traceAsyncFn (../packages/next/dist/trace/trace.js:157:26)
  at Object.<anonymous> (development/basic/next-rs-api.test.ts:312:56)

● next.rs api › should have working HMR on client-side change on a app page 1

TypeError: Cannot read properties of undefined (reading 'testDir')

  336 |           'app/route-nodejs/route.ts':
  337 |             'export function GET() { return Response.json({ hello: "world" }) }',
> 338 |           'app/route-edge/route.ts':
      |                                                         ^
  339 |             'export function GET() { return Response.json({ hello: "world" }) }\nexport const runtime = "edge"',
  340 |         },
  341 |       })

  at Object.<anonymous> (development/basic/next-rs-api.test.ts:338:97)

● next.rs api › should have working HMR on client-side change on a app page 2

createNext called without destroying previous instance

  149 |       await nextInstance.destroy()
  150 |       throw new Error(
> 151 |         `next instance not destroyed before exiting, make sure to call .destroy() after the tests after finished`
      |                   ^
  152 |       )
  153 |     }
  154 |   })

  at createNext (lib/e2e-utils/index.ts:151:19)
  at development/basic/next-rs-api.test.ts:313:51
  at Span.traceAsyncFn (../packages/next/dist/trace/trace.js:157:26)
  at Object.<anonymous> (development/basic/next-rs-api.test.ts:312:56)

● next.rs api › should have working HMR on client-side change on a app page 2

TypeError: Cannot read properties of undefined (reading 'testDir')

  336 |           'app/route-nodejs/route.ts':
  337 |             'export function GET() { return Response.json({ hello: "world" }) }',
> 338 |           'app/route-edge/route.ts':
      |                                                         ^
  339 |             'export function GET() { return Response.json({ hello: "world" }) }\nexport const runtime = "edge"',
  340 |         },
  341 |       })

  at Object.<anonymous> (development/basic/next-rs-api.test.ts:338:97)

● next.rs api › should have working HMR on server-side change on a app page 0

createNext called without destroying previous instance

  149 |       await nextInstance.destroy()
  150 |       throw new Error(
> 151 |         `next instance not destroyed before exiting, make sure to call .destroy() after the tests after finished`
      |                   ^
  152 |       )
  153 |     }
  154 |   })

  at createNext (lib/e2e-utils/index.ts:151:19)
  at development/basic/next-rs-api.test.ts:313:51
  at Span.traceAsyncFn (../packages/next/dist/trace/trace.js:157:26)
  at Object.<anonymous> (development/basic/next-rs-api.test.ts:312:56)

● next.rs api › should have working HMR on server-side change on a app page 0

TypeError: Cannot read properties of undefined (reading 'testDir')

  336 |           'app/route-nodejs/route.ts':
  337 |             'export function GET() { return Response.json({ hello: "world" }) }',
> 338 |           'app/route-edge/route.ts':
      |                                                         ^
  339 |             'export function GET() { return Response.json({ hello: "world" }) }\nexport const runtime = "edge"',
  340 |         },
  341 |       })

  at Object.<anonymous> (development/basic/next-rs-api.test.ts:338:97)

● next.rs api › should have working HMR on server-side change on a app page 1

createNext called without destroying previous instance

  149 |       await nextInstance.destroy()
  150 |       throw new Error(
> 151 |         `next instance not destroyed before exiting, make sure to call .destroy() after the tests after finished`
      |                   ^
  152 |       )
  153 |     }
  154 |   })

  at createNext (lib/e2e-utils/index.ts:151:19)
  at development/basic/next-rs-api.test.ts:313:51
  at Span.traceAsyncFn (../packages/next/dist/trace/trace.js:157:26)
  at Object.<anonymous> (development/basic/next-rs-api.test.ts:312:56)

● next.rs api › should have working HMR on server-side change on a app page 1

TypeError: Cannot read properties of undefined (reading 'testDir')

  336 |           'app/route-nodejs/route.ts':
  337 |             'export function GET() { return Response.json({ hello: "world" }) }',
> 338 |           'app/route-edge/route.ts':
      |                                                         ^
  339 |             'export function GET() { return Response.json({ hello: "world" }) }\nexport const runtime = "edge"',
  340 |         },
  341 |       })

  at Object.<anonymous> (development/basic/next-rs-api.test.ts:338:97)

● next.rs api › should have working HMR on server-side change on a app page 2

createNext called without destroying previous instance

  149 |       await nextInstance.destroy()
  150 |       throw new Error(
> 151 |         `next instance not destroyed before exiting, make sure to call .destroy() after the tests after finished`
      |                   ^
  152 |       )
  153 |     }
  154 |   })

  at createNext (lib/e2e-utils/index.ts:151:19)
  at development/basic/next-rs-api.test.ts:313:51
  at Span.traceAsyncFn (../packages/next/dist/trace/trace.js:157:26)
  at Object.<anonymous> (development/basic/next-rs-api.test.ts:312:56)

● next.rs api › should have working HMR on server-side change on a app page 2

TypeError: Cannot read properties of undefined (reading 'testDir')

  336 |           'app/route-nodejs/route.ts':
  337 |             'export function GET() { return Response.json({ hello: "world" }) }',
> 338 |           'app/route-edge/route.ts':
      |                                                         ^
  339 |             'export function GET() { return Response.json({ hello: "world" }) }\nexport const runtime = "edge"',
  340 |         },
  341 |       })

  at Object.<anonymous> (development/basic/next-rs-api.test.ts:338:97)

● next.rs api › should allow to make many HMR updates

createNext called without destroying previous instance

  149 |       await nextInstance.destroy()
  150 |       throw new Error(
> 151 |         `next instance not destroyed before exiting, make sure to call .destroy() after the tests after finished`
      |                   ^
  152 |       )
  153 |     }
  154 |   })

  at createNext (lib/e2e-utils/index.ts:151:19)
  at development/basic/next-rs-api.test.ts:313:51
  at Span.traceAsyncFn (../packages/next/dist/trace/trace.js:157:26)
  at Object.<anonymous> (development/basic/next-rs-api.test.ts:312:56)

● next.rs api › should allow to make many HMR updates

TypeError: Cannot read properties of undefined (reading 'testDir')

  336 |           'app/route-nodejs/route.ts':
  337 |             'export function GET() { return Response.json({ hello: "world" }) }',
> 338 |           'app/route-edge/route.ts':
      |                                                         ^
  339 |             'export function GET() { return Response.json({ hello: "world" }) }\nexport const runtime = "edge"',
  340 |         },
  341 |       })

  at Object.<anonymous> (development/basic/next-rs-api.test.ts:338:97)

● Test suite failed to run

TypeError: Cannot read properties of undefined (reading 'destroy')

  332 |           'app/app-edge/page.tsx':
  333 |             'export default () => <div>hello world</div>\nexport const runtime = "edge"',
> 334 |           'app/app-nodejs/page.tsx':
      |                       ^
  335 |             'export default () => <div>hello world</div>',
  336 |           'app/route-nodejs/route.ts':
  337 |             'export function GET() { return Response.json({ hello: "world" }) }',

  at Object.<anonymous> (development/basic/next-rs-api.test.ts:334:23)

pnpm test-dev-turbo test/development/app-dir/devtools-position/bottom-left.test.ts (turbopack) (job)

  • React Context > should render a page with context (DD)
  • React Context > should render correctly with context consumer (DD)
  • React Context > should render with context after change (DD)
Expand output

● React Context › should render a page with context

FetchError: request to http://localhost:46809/ failed, reason: socket hang up

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● React Context › should render correctly with context consumer

FetchError: request to http://localhost:46809/consumer failed, reason: connect ECONNREFUSED 127.0.0.1:46809

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● React Context › should render with context after change

TIMED OUT: /Value: .*?new value/

undefined

FetchError: request to http://localhost:46809/ failed, reason: connect ECONNREFUSED 127.0.0.1:46809

  724 |   }
  725 |   console.error('TIMED OUT CHECK: ', { regex, content, lastErr })
> 726 |   throw new Error('TIMED OUT: ' + regex + '\n\n' + content + '\n\n' + lastErr)
      |         ^
  727 | }
  728 |
  729 | export class File {

  at check (lib/next-test-utils.ts:726:9)
  at Object.<anonymous> (e2e/ssr-react-context/index.test.ts:39:9)

pnpm test test/integration/development-hmr-refresh/test/index.test.ts (turbopack) (job)

  • 404 handling > custom _error > next dev > should normalize repeated slashes in redirects correctly (DD)
  • 404 handling > custom _error > next dev > should handle double slashes correctly (DD)
  • 404 handling > custom _error > next dev > should handle double slashes correctly with query (DD)
  • 404 handling > custom _error > next dev > should handle double slashes correctly with hash (DD)
  • 404 handling > custom _error > next dev > should handle double slashes correctly with encoded (DD)
  • 404 handling > custom _error > next dev > should handle double slashes correctly with encoded and query (DD)
  • 404 handling > custom _error > next dev > should handle double slashes correctly with encoded and hash (DD)
  • 404 handling > custom _error > next dev > should handle backslashes correctly (DD)
  • 404 handling > custom _error > next dev > should handle mixed backslashes/forward slashes correctly (DD)
  • 404 handling > custom _error > next dev > should handle slashes in next/link correctly (DD)
  • 404 handling > custom _error > next dev > should handle slashes in router push correctly (DD)
  • 404 handling > custom _error > next dev > should have no error from encoded slashes in router push (DD)
  • 404 handling > pages/404 > production mode > next dev > should normalize repeated slashes in redirects correctly (DD)
  • 404 handling > pages/404 > production mode > next dev > should handle double slashes correctly (DD)
  • 404 handling > pages/404 > production mode > next dev > should handle double slashes correctly with query (DD)
  • 404 handling > pages/404 > production mode > next dev > should handle double slashes correctly with hash (DD)
  • 404 handling > pages/404 > production mode > next dev > should handle double slashes correctly with encoded (DD)
  • 404 handling > pages/404 > production mode > next dev > should handle double slashes correctly with encoded and query (DD)
  • 404 handling > pages/404 > production mode > next dev > should handle double slashes correctly with encoded and hash (DD)
  • 404 handling > pages/404 > production mode > next dev > should handle backslashes correctly (DD)
  • 404 handling > pages/404 > production mode > next dev > should handle mixed backslashes/forward slashes correctly (DD)
  • 404 handling > pages/404 > production mode > next dev > should handle slashes in next/link correctly (DD)
  • 404 handling > pages/404 > production mode > next dev > should handle slashes in router push correctly (DD)
  • 404 handling > pages/404 > production mode > next dev > should have no error from encoded slashes in router push (DD)
Expand output

● 404 handling › custom _error › next dev › should normalize repeated slashes in redirects correctly

FetchError: request to http://localhost:42131/ failed, reason: socket hang up

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● 404 handling › custom _error › next dev › should handle double slashes correctly

FetchError: request to http://localhost:42131/ failed, reason: socket hang up

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● 404 handling › custom _error › next dev › should handle double slashes correctly with query

FetchError: request to http://localhost:42131/ failed, reason: socket hang up

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● 404 handling › custom _error › next dev › should handle double slashes correctly with hash

FetchError: request to http://localhost:42131/ failed, reason: socket hang up

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● 404 handling › custom _error › next dev › should handle double slashes correctly with encoded

FetchError: request to http://localhost:42131/ failed, reason: socket hang up

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● 404 handling › custom _error › next dev › should handle double slashes correctly with encoded and query

FetchError: request to http://localhost:42131/ failed, reason: socket hang up

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● 404 handling › custom _error › next dev › should handle double slashes correctly with encoded and hash

FetchError: request to http://localhost:42131/ failed, reason: socket hang up

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● 404 handling › custom _error › next dev › should handle backslashes correctly

FetchError: request to http://localhost:42131/ failed, reason: socket hang up

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● 404 handling › custom _error › next dev › should handle mixed backslashes/forward slashes correctly

FetchError: request to http://localhost:42131/ failed, reason: socket hang up

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● 404 handling › custom _error › next dev › should handle slashes in next/link correctly

FetchError: request to http://localhost:42131/ failed, reason: socket hang up

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● 404 handling › custom _error › next dev › should handle slashes in router push correctly

FetchError: request to http://localhost:42131/ failed, reason: socket hang up

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● 404 handling › custom _error › next dev › should have no error from encoded slashes in router push

FetchError: request to http://localhost:42131/ failed, reason: socket hang up

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● 404 handling › pages/404 › production mode › next dev › should normalize repeated slashes in redirects correctly

FetchError: request to http://localhost:37517/ failed, reason: socket hang up

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● 404 handling › pages/404 › production mode › next dev › should handle double slashes correctly

FetchError: request to http://localhost:37517/ failed, reason: socket hang up

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● 404 handling › pages/404 › production mode › next dev › should handle double slashes correctly with query

FetchError: request to http://localhost:37517/ failed, reason: socket hang up

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● 404 handling › pages/404 › production mode › next dev › should handle double slashes correctly with hash

FetchError: request to http://localhost:37517/ failed, reason: socket hang up

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● 404 handling › pages/404 › production mode › next dev › should handle double slashes correctly with encoded

FetchError: request to http://localhost:37517/ failed, reason: socket hang up

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● 404 handling › pages/404 › production mode › next dev › should handle double slashes correctly with encoded and query

FetchError: request to http://localhost:37517/ failed, reason: socket hang up

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● 404 handling › pages/404 › production mode › next dev › should handle double slashes correctly with encoded and hash

FetchError: request to http://localhost:37517/ failed, reason: socket hang up

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● 404 handling › pages/404 › production mode › next dev › should handle backslashes correctly

FetchError: request to http://localhost:37517/ failed, reason: socket hang up

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● 404 handling › pages/404 › production mode › next dev › should handle mixed backslashes/forward slashes correctly

FetchError: request to http://localhost:37517/ failed, reason: socket hang up

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● 404 handling › pages/404 › production mode › next dev › should handle slashes in next/link correctly

FetchError: request to http://localhost:37517/ failed, reason: socket hang up

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● 404 handling › pages/404 › production mode › next dev › should handle slashes in router push correctly

FetchError: request to http://localhost:37517/ failed, reason: socket hang up

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● 404 handling › pages/404 › production mode › next dev › should have no error from encoded slashes in router push

FetchError: request to http://localhost:37517/ failed, reason: socket hang up

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

pnpm test-start-turbo test/production/graceful-shutdown/index.test.ts (turbopack) (job)

  • Graceful Shutdown > development (next dev) > should shut down child immediately (DD)
Expand output

● Graceful Shutdown › development (next dev) › should shut down child immediately

expect(received).resolves.toBeDefined()

Received promise rejected instead of resolved
Rejected to value: [FetchError: request to http://localhost:43177/api/long-running failed, reason: socket hang up]

  125 |
  126 |       // let the dev server compile the route before running the test
> 127 |       await expect(
      |             ^
  128 |         fetchViaHTTP(appPort, '/api/long-running')
  129 |       ).resolves.toBeDefined()
  130 |

  at expect (../node_modules/.pnpm/[email protected]/node_modules/expect/build/index.js:113:15)
  at Object.expect (production/graceful-shutdown/index.test.ts:127:13)

pnpm test test/integration/bigint/test/index.test.ts (turbopack) (job)

  • Non-Standard NODE_ENV > should not show the warning with NODE_ENV set to valid value (custom server) (DD)
  • Non-Standard NODE_ENV > should show the warning with NODE_ENV set to invalid value (custom server) (DD)
Expand output

● Non-Standard NODE_ENV › should not show the warning with NODE_ENV set to valid value (custom server)

thrown: "Exceeded timeout of 60000 ms for a test.
Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."

  63 |   })
  64 |
> 65 |   it('should not show the warning with NODE_ENV set to valid value (custom server)', async () => {
     |   ^
  66 |     let output = ''
  67 |
  68 |     app = await startServer(

  at it (integration/non-standard-node-env-warning/test/index.test.ts:65:3)
  at Object.describe (integration/non-standard-node-env-warning/test/index.test.ts:35:1)

● Non-Standard NODE_ENV › should show the warning with NODE_ENV set to invalid value (custom server)

thrown: "Exceeded timeout of 60000 ms for a test.
Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."

  160 |   })
  161 |
> 162 |   it('should show the warning with NODE_ENV set to invalid value (custom server)', async () => {
      |   ^
  163 |     let output = ''
  164 |
  165 |     app = await startServer(

  at it (integration/non-standard-node-env-warning/test/index.test.ts:162:3)
  at Object.describe (integration/non-standard-node-env-warning/test/index.test.ts:35:1)

pnpm test-dev-turbo test/development/app-dir/cache-components-dev-fallback-validation/cache-components-dev-fallback-validation.test.ts (turbopack) (job)

  • app-invalid-revalidate > should error properly for invalid revalidate at layout (DD)
  • app-invalid-revalidate > should error properly for invalid revalidate at page (DD)
  • app-invalid-revalidate > should error properly for invalid revalidate on fetch (DD)
  • app-invalid-revalidate > should error properly for invalid revalidate on unstable_cache (DD)
Expand output

● app-invalid-revalidate › should error properly for invalid revalidate at layout

TIMED OUT: /Invalid revalidate value "1" on "\/", must be a non-negative number or false/

undefined

Error: No child process available

  724 |   }
  725 |   console.error('TIMED OUT CHECK: ', { regex, content, lastErr })
> 726 |   throw new Error('TIMED OUT: ' + regex + '\n\n' + content + '\n\n' + lastErr)
      |         ^
  727 | }
  728 |
  729 | export class File {

  at check (lib/next-test-utils.ts:726:9)
  at Object.<anonymous> (e2e/app-dir/app-invalid-revalidate/app-invalid-revalidate.test.ts:26:7)

● app-invalid-revalidate › should error properly for invalid revalidate at page

TIMED OUT: /Invalid revalidate value "1" on "\/", must be a non-negative number or false/

undefined

Error: No child process available

  724 |   }
  725 |   console.error('TIMED OUT CHECK: ', { regex, content, lastErr })
> 726 |   throw new Error('TIMED OUT: ' + regex + '\n\n' + content + '\n\n' + lastErr)
      |         ^
  727 | }
  728 |
  729 | export class File {

  at check (lib/next-test-utils.ts:726:9)
  at Object.<anonymous> (e2e/app-dir/app-invalid-revalidate/app-invalid-revalidate.test.ts:48:7)

● app-invalid-revalidate › should error properly for invalid revalidate on fetch

TIMED OUT: /Invalid revalidate value "1" on "\/", must be a non-negative number or false/

undefined

Error: No child process available

  724 |   }
  725 |   console.error('TIMED OUT CHECK: ', { regex, content, lastErr })
> 726 |   throw new Error('TIMED OUT: ' + regex + '\n\n' + content + '\n\n' + lastErr)
      |         ^
  727 | }
  728 |
  729 | export class File {

  at check (lib/next-test-utils.ts:726:9)
  at Object.<anonymous> (e2e/app-dir/app-invalid-revalidate/app-invalid-revalidate.test.ts:70:7)

● app-invalid-revalidate › should error properly for invalid revalidate on unstable_cache

TIMED OUT: /Invalid revalidate value "1" on "unstable_cache/

undefined

Error: No child process available

  724 |   }
  725 |   console.error('TIMED OUT CHECK: ', { regex, content, lastErr })
> 726 |   throw new Error('TIMED OUT: ' + regex + '\n\n' + content + '\n\n' + lastErr)
      |         ^
  727 | }
  728 |
  729 | export class File {

  at check (lib/next-test-utils.ts:726:9)
  at Object.<anonymous> (e2e/app-dir/app-invalid-revalidate/app-invalid-revalidate.test.ts:92:7)

pnpm test-dev-turbo test/development/acceptance/ReactRefreshModule.test.ts (turbopack) (job)

  • Switchable runtime > Switchable runtime (dev) > should not include edge api routes and edge ssr routes into dev middleware manifest (DD)
  • Switchable runtime > Switchable runtime (dev) > should sort edge SSR routes correctly (DD)
  • Switchable runtime > Switchable runtime (dev) > should be able to navigate between edge SSR routes without any errors (DD)
  • Switchable runtime > Switchable runtime (dev) > should not consume server.js file extension (DD)
  • Switchable runtime > Switchable runtime (dev) > should build /api/hello and /api/edge as an api route with edge runtime (DD)
  • Switchable runtime > Switchable runtime (dev) > should be possible to switch between runtimes in API routes (DD)
  • Switchable runtime > Switchable runtime (dev) > should be possible to switch between runtimes in pages (DD)
Expand output

● Switchable runtime › Switchable runtime (dev) › should not include edge api routes and edge ssr routes into dev middleware manifest

FetchError: request to http://localhost:32841/_next/static/development/_devMiddlewareManifest.json failed, reason: socket hang up

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● Switchable runtime › Switchable runtime (dev) › should sort edge SSR routes correctly

FetchError: request to http://localhost:32841/edge/foo failed, reason: connect ECONNREFUSED 127.0.0.1:32841

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● Switchable runtime › Switchable runtime (dev) › should be able to navigate between edge SSR routes without any errors

FetchError: request to http://localhost:32841/edge/foo failed, reason: connect ECONNREFUSED 127.0.0.1:32841

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● Switchable runtime › Switchable runtime (dev) › should not consume server.js file extension

FetchError: request to http://localhost:32841/legacy-extension failed, reason: connect ECONNREFUSED 127.0.0.1:32841

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● Switchable runtime › Switchable runtime (dev) › should build /api/hello and /api/edge as an api route with edge runtime

FetchError: request to http://localhost:32841/api/hello failed, reason: connect ECONNREFUSED 127.0.0.1:32841

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● Switchable runtime › Switchable runtime (dev) › should be possible to switch between runtimes in API routes

TIMED OUT: server response

undefined

FetchError: request to http://localhost:32841/api/switch-in-dev failed, reason: connect ECONNREFUSED 127.0.0.1:32841

  724 |   }
  725 |   console.error('TIMED OUT CHECK: ', { regex, content, lastErr })
> 726 |   throw new Error('TIMED OUT: ' + regex + '\n\n' + content + '\n\n' + lastErr)
      |         ^
  727 | }
  728 |
  729 | export class File {

  at check (lib/next-test-utils.ts:726:9)
  at Object.<anonymous> (e2e/switchable-runtime/index.test.ts:177:9)

● Switchable runtime › Switchable runtime (dev) › should be possible to switch between runtimes in pages

TIMED OUT: /Hello from edge page/

undefined

FetchError: request to http://localhost:32841/switch-in-dev failed, reason: connect ECONNREFUSED 127.0.0.1:32841

  724 |   }
  725 |   console.error('TIMED OUT CHECK: ', { regex, content, lastErr })
> 726 |   throw new Error('TIMED OUT: ' + regex + '\n\n' + content + '\n\n' + lastErr)
      |         ^
  727 | }
  728 |
  729 | export class File {

  at check (lib/next-test-utils.ts:726:9)
  at Object.<anonymous> (e2e/switchable-runtime/index.test.ts:230:9)

pnpm test test/integration/edge-runtime-dynamic-code/test/index.test.ts (turbopack) (job)

  • API routes > dev support > should not strip .json from API route (DD)
  • API routes > dev support > should handle proxying to self correctly (DD)
  • API routes > dev support > should respond from /api/auth/[...nextauth] correctly (DD)
  • API routes > dev support > should handle 204 status correctly (DD)
  • API routes > dev support > should render page (DD)
  • API routes > dev support > should return 404 for undefined path (DD)
  • API routes > dev support > should not conflict with /api routes (DD)
  • API routes > dev support > should set cors headers when adding cors middleware (DD)
  • API routes > dev support > should work with index api (DD)
  • API routes > dev support > should return custom error (DD)
  • API routes > dev support > should throw Internal Server Error (DD)
  • API routes > dev support > should throw Internal Server Error (async) (DD)
  • API routes > dev support > should parse JSON body (DD)
  • API routes > dev support > should special-case empty JSON body (DD)
  • API routes > dev support > should support boolean for JSON in api page (DD)
  • API routes > dev support > should support undefined response body (DD)
  • API routes > dev support > should support string in JSON response body (DD)
  • API routes > dev support > should support null in JSON response body (DD)
  • API routes > dev support > should return error with invalid JSON (DD)
  • API routes > dev support > should parse bigger body then 1mb (DD)
  • API routes > dev support > should support etag spec (DD)
  • API routes > dev support > should parse urlencoded body (DD)
  • API routes > dev support > should parse body in handler (DD)
  • API routes > dev support > should parse body with config (DD)
  • API routes > dev support > should show friendly error for invalid redirect (DD)
  • API routes > dev support > should show friendly error in case of passing null as first argument redirect (DD)
  • API routes > dev support > should redirect with status code 307 (DD)
  • API routes > dev support > should redirect to login (DD)
  • API routes > dev support > should redirect with status code 301 (DD)
  • API routes > dev support > should return empty query object (DD)
  • API routes > dev support > should parse query correctly (DD)
  • API routes > dev support > should return empty cookies object (DD)
  • API routes > dev support > should return cookies object (DD)
  • API routes > dev support > should return 200 on POST on pages (DD)
  • API routes > dev support > should return JSON on post on API (DD)
  • API routes > dev support > should return data on dynamic route (DD)
  • API routes > dev support > should work with dynamic params and search string (DD)
  • API routes > dev support > should work with dynamic params and search string like lambda (DD)
  • API routes > dev support > should prioritize a non-dynamic page (DD)
  • API routes > dev support > should return data on dynamic nested route (DD)
  • API routes > dev support > should 404 on optional dynamic api page (DD)
  • API routes > dev support > should return data on dynamic optional nested route (DD)
  • API routes > dev support > should work with child_process correctly (DD)
  • API routes > dev support > should work with nullable payload (DD)
  • API routes > dev support > should warn if response body is larger than 4MB (DD)
  • API routes > dev support > should not warn if response body is larger than 4MB with responseLimit config = false (DD)
  • API routes > dev support > should warn with configured size if response body is larger than configured size (DD)
  • API routes > dev support > should compile only server code in development (DD)
  • API routes > dev support > should show warning when the API resolves without ending the request in development mode (DD)
  • API routes > dev support > should not show warning when the API resolves and the response is piped (DD)
  • API routes > dev support > should show false positive warning if not using externalResolver flag (DD)
  • API routes > dev support > should not show warning if using externalResolver flag (DD)
  • API routes > production mode > should show friendly error for invalid redirect (DD)
  • API routes > production mode > should warn if response body is larger than 4MB (DD)
  • API routes > production mode > should warn with configured size if response body is larger than configured size (DD)
Expand output

● API routes › dev support › should not strip .json from API route

FetchError: request to http://localhost:42265/api/hello.json failed, reason: socket hang up

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should handle proxying to self correctly

FetchError: request to http://localhost:42265/api/proxy-self failed, reason: connect ECONNREFUSED 127.0.0.1:42265

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should respond from /api/auth/[...nextauth] correctly

FetchError: request to http://localhost:42265/api/auth/signin failed, reason: connect ECONNREFUSED 127.0.0.1:42265

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should handle 204 status correctly

FetchError: request to http://localhost:42265/api/status-204 failed, reason: connect ECONNREFUSED 127.0.0.1:42265

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should render page

FetchError: request to http://localhost:42265/ failed, reason: connect ECONNREFUSED 127.0.0.1:42265

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should return 404 for undefined path

FetchError: request to http://localhost:42265/api/not/unexisting/page/really failed, reason: connect ECONNREFUSED 127.0.0.1:42265

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should not conflict with /api routes

FetchError: request to http://localhost:42265/api-conflict failed, reason: connect ECONNREFUSED 127.0.0.1:42265

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should set cors headers when adding cors middleware

FetchError: request to http://localhost:42265/api/cors failed, reason: connect ECONNREFUSED 127.0.0.1:42265

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should work with index api

FetchError: request to http://localhost:42265/api failed, reason: connect ECONNREFUSED 127.0.0.1:42265

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should return custom error

FetchError: request to http://localhost:42265/api/error failed, reason: connect ECONNREFUSED 127.0.0.1:42265

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should throw Internal Server Error

FetchError: request to http://localhost:42265/api/user-error failed, reason: connect ECONNREFUSED 127.0.0.1:42265

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should throw Internal Server Error (async)

FetchError: request to http://localhost:42265/api/user-error-async failed, reason: connect ECONNREFUSED 127.0.0.1:42265

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should parse JSON body

FetchError: request to http://localhost:42265/api/parse failed, reason: connect ECONNREFUSED 127.0.0.1:42265

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should special-case empty JSON body

FetchError: request to http://localhost:42265/api/parse failed, reason: connect ECONNREFUSED 127.0.0.1:42265

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should support boolean for JSON in api page

FetchError: request to http://localhost:42265/api/bool failed, reason: connect ECONNREFUSED 127.0.0.1:42265

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should support undefined response body

FetchError: request to http://localhost:42265/api/json-undefined failed, reason: connect ECONNREFUSED 127.0.0.1:42265

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should support string in JSON response body

FetchError: request to http://localhost:42265/api/json-string failed, reason: connect ECONNREFUSED 127.0.0.1:42265

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should support null in JSON response body

FetchError: request to http://localhost:42265/api/json-null failed, reason: connect ECONNREFUSED 127.0.0.1:42265

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should return error with invalid JSON

FetchError: request to http://localhost:42265/api/parse failed, reason: connect ECONNREFUSED 127.0.0.1:42265

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should parse bigger body then 1mb

FetchError: request to http://localhost:42265/api/big-parse failed, reason: connect ECONNREFUSED 127.0.0.1:42265

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should support etag spec

FetchError: request to http://localhost:42265/api/blog failed, reason: connect ECONNREFUSED 127.0.0.1:42265

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should parse urlencoded body

FetchError: request to http://localhost:42265/api/parse failed, reason: connect ECONNREFUSED 127.0.0.1:42265

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should parse body in handler

FetchError: request to http://localhost:42265/api/no-parsing failed, reason: connect ECONNREFUSED 127.0.0.1:42265

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should parse body with config

FetchError: request to http://localhost:42265/api/parsing failed, reason: connect ECONNREFUSED 127.0.0.1:42265

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should show friendly error for invalid redirect

FetchError: request to http://localhost:42265/api/redirect-error failed, reason: connect ECONNREFUSED 127.0.0.1:42265

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should show friendly error in case of passing null as first argument redirect

FetchError: request to http://localhost:42265/api/redirect-null failed, reason: connect ECONNREFUSED 127.0.0.1:42265

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should redirect with status code 307

FetchError: request to http://localhost:42265/api/redirect-307 failed, reason: connect ECONNREFUSED 127.0.0.1:42265

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should redirect to login

FetchError: request to http://localhost:42265/api/redirect-307 failed, reason: connect ECONNREFUSED 127.0.0.1:42265

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should redirect with status code 301

FetchError: request to http://localhost:42265/api/redirect-301 failed, reason: connect ECONNREFUSED 127.0.0.1:42265

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should return empty query object

FetchError: request to http://localhost:42265/api/query failed, reason: connect ECONNREFUSED 127.0.0.1:42265

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should parse query correctly

FetchError: request to http://localhost:42265/api/query?a=1&b=2&a=3 failed, reason: connect ECONNREFUSED 127.0.0.1:42265

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should return empty cookies object

FetchError: request to http://localhost:42265/api/cookies failed, reason: connect ECONNREFUSED 127.0.0.1:42265

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should return cookies object

FetchError: request to http://localhost:42265/api/cookies failed, reason: connect ECONNREFUSED 127.0.0.1:42265

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should return 200 on POST on pages

FetchError: request to http://localhost:42265/user failed, reason: connect ECONNREFUSED 127.0.0.1:42265

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should return JSON on post on API

FetchError: request to http://localhost:42265/api/blog?title=Nextjs failed, reason: connect ECONNREFUSED 127.0.0.1:42265

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should return data on dynamic route

FetchError: request to http://localhost:42265/api/post-1 failed, reason: connect ECONNREFUSED 127.0.0.1:42265

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should work with dynamic params and search string

FetchError: request to http://localhost:42265/api/post-1?val=1 failed, reason: connect ECONNREFUSED 127.0.0.1:42265

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should work with dynamic params and search string like lambda

FetchError: request to http://localhost:42265/api/post-1?val=1 failed, reason: connect ECONNREFUSED 127.0.0.1:42265

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should prioritize a non-dynamic page

FetchError: request to http://localhost:42265/api/post-1/comments failed, reason: connect ECONNREFUSED 127.0.0.1:42265

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should return data on dynamic nested route

FetchError: request to http://localhost:42265/api/post-1/comment-1 failed, reason: connect ECONNREFUSED 127.0.0.1:42265

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should 404 on optional dynamic api page

FetchError: request to http://localhost:42265/api/blog/543/comment failed, reason: connect ECONNREFUSED 127.0.0.1:42265

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should return data on dynamic optional nested route

FetchError: request to http://localhost:42265/api/blog/post-1/comment/1 failed, reason: connect ECONNREFUSED 127.0.0.1:42265

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should work with child_process correctly

FetchError: request to http://localhost:42265/api/child-process failed, reason: connect ECONNREFUSED 127.0.0.1:42265

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should work with nullable payload

FetchError: request to http://localhost:42265/api/nullable-payload failed, reason: connect ECONNREFUSED 127.0.0.1:42265

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should warn if response body is larger than 4MB

FetchError: request to http://localhost:42265/api/large-response failed, reason: connect ECONNREFUSED 127.0.0.1:42265

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should not warn if response body is larger than 4MB with responseLimit config = false

TIMED OUT: success

undefined

FetchError: request to http://localhost:42265/api/large-response-with-config failed, reason: connect ECONNREFUSED 127.0.0.1:42265

  724 |   }
  725 |   console.error('TIMED OUT CHECK: ', { regex, content, lastErr })
> 726 |   throw new Error('TIMED OUT: ' + regex + '\n\n' + content + '\n\n' + lastErr)
      |         ^
  727 | }
  728 |
  729 | export class File {

  at check (lib/next-test-utils.ts:726:9)
  at Object.<anonymous> (integration/api-support/test/index.test.ts:530:5)

● API routes › dev support › should warn with configured size if response body is larger than configured size

TIMED OUT: success

undefined

FetchError: request to http://localhost:42265/api/large-response-with-config-size failed, reason: connect ECONNREFUSED 127.0.0.1:42265

  724 |   }
  725 |   console.error('TIMED OUT CHECK: ', { regex, content, lastErr })
> 726 |   throw new Error('TIMED OUT: ' + regex + '\n\n' + content + '\n\n' + lastErr)
      |         ^
  727 | }
  728 |
  729 | export class File {

  at check (lib/next-test-utils.ts:726:9)
  at Object.<anonymous> (integration/api-support/test/index.test.ts:541:5)

● API routes › dev support › should compile only server code in development

FetchError: request to http://localhost:42265/api/users failed, reason: connect ECONNREFUSED 127.0.0.1:42265

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should show warning when the API resolves without ending the request in development mode

TIMED OUT: /API resolved without sending a response for \/api\/test-no-end, this may result in stalled requests/


thread 'tokio-runtime-worker' (198773) panicked at turbopack/crates/turbo-tasks-backend/src/backend/operation/mod.rs:681:14:
To read data of Meta the task need to be accessed with this category (It's accessed with Data)
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
FATAL: An unexpected Turbopack error occurred:
To read data of Meta the task need to be accessed with this category (It's accessed with Data)

Debug info:
- Execution of ProjectContainer::project failed
- To read data of Meta the task need to be accessed with this category (It's accessed with Data)
Error [TurbopackInternalError]: To read data of Meta the task need to be accessed with this category (It's accessed with Data)

Debug info:
- Execution of ProjectContainer::project failed
- To read data of Meta the task need to be accessed with this category (It's accessed with Data)
    at <unknown> (TurbopackInternalError: To read data of Meta the task need to be accessed with this category (It's accessed with Data)) {
  location: 'turbopack/crates/turbo-tasks-backend/src/backend/operation/mod.rs:681:14'
}


undefined

  724 |   }
  725 |   console.error('TIMED OUT CHECK: ', { regex, content, lastErr })
> 726 |   throw new Error('TIMED OUT: ' + regex + '\n\n' + content + '\n\n' + lastErr)
      |         ^
  727 | }
  728 |
  729 | export class File {

  at check (lib/next-test-utils.ts:726:9)
  at Object.<anonymous> (integration/api-support/test/index.test.ts:574:7)

● API routes › dev support › should not show warning when the API resolves and the response is piped

FetchError: request to http://localhost:42265/api/test-res-pipe?port=42265 failed, reason: connect ECONNREFUSED 127.0.0.1:42265

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should show false positive warning if not using externalResolver flag

FetchError: request to http://localhost:42265/api/external-resolver-false-positive failed, reason: connect ECONNREFUSED 127.0.0.1:42265

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › dev support › should not show warning if using externalResolver flag

FetchError: request to http://localhost:42265/api/external-resolver failed, reason: connect ECONNREFUSED 127.0.0.1:42265

  at ClientRequest.<anonymous> (../node_modules/.pnpm/[email protected][email protected]/node_modules/node-fetch/lib/index.js:1491:11)

● API routes › production mode › should show friendly error for invalid redirect

TIMED OUT: yes

undefined

Error: expect(received).toContain(expected) // indexOf

Expected substring: "Invalid redirect arguments. Please use a single argument URL, e.g. res.redirect('/destination') or use a status code and URL, e.g. res.redirect(307, '/destination')."
Received string:    "
thread 'tokio-runtime-worker' (198773) panicked at turbopack/crates/turbo-tasks-backend/src/backend/operation/mod.rs:681:14:
To read data of Meta the task need to be accessed with this category (It's accessed with Data)
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
FATAL: An unexpected Turbopack error occurred:
To read data of Meta the task need to be accessed with this category (It's accessed with Data)·
Debug info:
- Execution of ProjectContainer::project failed
- To read data of Meta the task need to be accessed with this category (It's accessed with Data)
Error [TurbopackInternalError]: To read data of Meta the task need to be accessed with this category (It's accessed with Data)·
Debug info:
- Execution of ProjectContainer::project failed
- To read data of Meta the task need to be accessed with this category (It's accessed with Data)
    at <unknown> (TurbopackInternalError: To read data of Meta the task need to be accessed with this category (It's accessed with Data)) {
  location: 'turbopack/crates/turbo-tasks-backend/src/backend/operation/mod.rs:681:14'
}
"

  724 |   }
  725 |   console.error('TIMED OUT CHECK: ', { regex, content, lastErr })
> 726 |   throw new Error('TIMED OUT: ' + regex + '\n\n' + content + '\n\n' + lastErr)
      |         ^
  727 | }
  728 |
  729 | export class File {

  at check (lib/next-test-utils.ts:726:9)
  at Object.<anonymous> (integration/api-support/test/index.test.ts:345:5)

● API routes › production mode › should warn if response body is larger than 4MB

expect(received).toContain(expected) // indexOf

Expected substring: "API response for /api/large-response exceeds 4MB. API Routes are meant to respond quickly."
Received string:    "
thread 'tokio-runtime-worker' (198773) panicked at turbopack/crates/turbo-tasks-backend/src/backend/operation/mod.rs:681:14:
To read data of Meta the task need to be accessed with this category (It's accessed with Data)
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
FATAL: An unexpected Turbopack error occurred:
To read data of Meta the task need to be accessed with this category (It's accessed with Data)·
Debug info:
- Execution of ProjectContainer::project failed
- To read data of Meta the task need to be accessed with this category (It's accessed with Data)
Error [TurbopackInternalError]: To read data of Meta the task need to be accessed with this category (It's accessed with Data)·
Debug info:
- Execution of ProjectContainer::project failed
- To read data of Meta the task need to be accessed with this category (It's accessed with Data)
    at <unknown> (TurbopackInternalError: To read data of Meta the task need to be accessed with this category (It's accessed with Data)) {
  location: 'turbopack/crates/turbo-tasks-backend/src/backend/operation/mod.rs:681:14'
}
"

  516 |     let res = await fetchViaHTTP(appPort, '/api/large-response')
  517 |     expect(res.ok).toBeTruthy()
> 518 |     expect(stderr).toContain(
      |                    ^
  519 |       'API response for /api/large-response exceeds 4MB. API Routes are meant to respond quickly.'
  520 |     )
  521 |

  at Object.toContain (integration/api-support/test/index.test.ts:518:20)

● API routes › production mode › should warn with configured size if response body is larger than configured size

TIMED OUT: yes

undefined

Error: expect(received).toContain(expected) // indexOf

Expected substring: "Invalid redirect arguments. Please use a single argument URL, e.g. res.redirect('/destination') or use a status code and URL, e.g. res.redirect(307, '/destination')."
Received string:    "
thread 'tokio-runtime-worker' (198773) panicked at turbopack/crates/turbo-tasks-backend/src/backend/operation/mod.rs:681:14:
To read data of Meta the task need to be accessed with this category (It's accessed with Data)
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
FATAL: An unexpected Turbopack error occurred:
To read data of Meta the task need to be accessed with this category (It's accessed with Data)·
Debug info:
- Execution of ProjectContainer::project failed
- To read data of Meta the task need to be accessed with this category (It's accessed with Data)
Error [TurbopackInternalError]: To read data of Meta the task need to be accessed with this category (It's accessed with Data)·
Debug info:
- Execution of ProjectContainer::project failed
- To read data of Meta the task need to be accessed with this category (It's accessed with Data)
    at <unknown> (TurbopackInternalError: To read data of Meta the task need to be accessed with this category (It's accessed with Data)) {
  location: 'turbopack/crates/turbo-tasks-backend/src/backend/operation/mod.rs:681:14'
}
"

  724 |   }
  725 |   console.error('TIMED OUT CHECK: ', { regex, content, lastErr })
> 726 |   throw new Error('TIMED OUT: ' + regex + '\n\n' + content + '\n\n' + lastErr)
      |         ^
  727 | }
  728 |
  729 | export class File {

  at check (lib/next-test-utils.ts:726:9)

● API routes › production mode › should warn with configured size if response body is larger than configured size

TIMED OUT: success

undefined

Error: expect(received).toContain(expected) // indexOf

Expected substring: "API response for /api/large-response-with-config-size exceeds 5MB. API Routes are meant to respond quickly."
Received string:    "
thread 'tokio-runtime-worker' (198773) panicked at turbopack/crates/turbo-tasks-backend/src/backend/operation/mod.rs:681:14:
To read data of Meta the task need to be accessed with this category (It's accessed with Data)
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
FATAL: An unexpected Turbopack error occurred:
To read data of Meta the task need to be accessed with this category (It's accessed with Data)·
Debug info:
- Execution of ProjectContainer::project failed
- To read data of Meta the task need to be accessed with this category (It's accessed with Data)
Error [TurbopackInternalError]: To read data of Meta the task need to be accessed with this category (It's accessed with Data)·
Debug info:
- Execution of ProjectContainer::project failed
- To read data of Meta the task need to be accessed with this category (It's accessed with Data)
    at <unknown> (TurbopackInternalError: To read data of Meta the task need to be accessed with this category (It's accessed with Data)) {
  location: 'turbopack/crates/turbo-tasks-backend/src/backend/operation/mod.rs:681:14'
}
"

  724 |   }
  725 |   console.error('TIMED OUT CHECK: ', { regex, content, lastErr })
> 726 |   throw new Error('TIMED OUT: ' + regex + '\n\n' + content + '\n\n' + lastErr)
      |         ^
  727 | }
  728 |
  729 | export class File {

  at check (lib/next-test-utils.ts:726:9)
  at Object.<anonymous> (integration/api-support/test/index.test.ts:541:5)

pnpm test-start-turbo test/e2e/streaming-ssr/index.test.ts (turbopack) (job)

  • streaming SSR with custom server > should render page correctly under custom server (DD)
Expand output

● streaming SSR with custom server › should render page correctly under custom server

thrown: "Exceeded timeout of 120000 ms for a hook.
Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."

  90 |     let server
  91 |     let appPort
> 92 |     beforeAll(async () => {
     |     ^
  93 |       next = await createNext({
  94 |         files: join(__dirname, 'custom-server'),
  95 |       })

  at beforeAll (e2e/streaming-ssr/index.test.ts:92:5)
  at Object.describe (e2e/streaming-ssr/index.test.ts:88:3)

pnpm test-start-turbo test/e2e/filesystem-cache/filesystem-cache.test.ts (turbopack) (job)

  • filesystem-caching with cache enabled > should cache or not cache loaders (DD)
  • filesystem-caching with cache enabled > should allow to change files while stopped (RSC change) (DD)
  • filesystem-caching with cache enabled > should allow to change files while stopped (RCC change) (DD)
  • filesystem-caching with cache enabled > should allow to change files while stopped (Pages change) (DD)
  • filesystem-caching with cache enabled > should allow to change files while stopped (rename app page) (DD)
  • filesystem-caching with cache enabled > should allow to change files while stopped (next config change) (DD)
  • filesystem-caching with cache enabled > should allow to change files while stopped (env var change) (DD)
  • filesystem-caching with cache enabled > should allow to change files while stopped (RSC change, RCC change, Pages change, rename app page, next config change, env var change) (DD)
Expand output

● filesystem-caching with cache enabled › should cache or not cache loaders

next build failed with code/signal 1

  77 |             if (code || signal)
  78 |               reject(
> 79 |                 new Error(
     |                 ^
  80 |                   `next build failed with code/signal ${code || signal}`
  81 |                 )
  82 |               )

  at ChildProcess.<anonymous> (lib/next-modes/next-start.ts:79:17)

● filesystem-caching with cache enabled › should cache or not cache loaders

next instance is not initialized yet, make sure you call methods on next instance in test body.

  292 |     set: function (_target, key, value) {
  293 |       if (!next) {
> 294 |         throw new Error(
      |               ^
  295 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  296 |         )
  297 |       }

  at Object.set (lib/e2e-utils/index.ts:294:15)
  at Object.<anonymous> (e2e/filesystem-cache/filesystem-cache.test.ts:45:53)

● filesystem-caching with cache enabled › should allow to change files while stopped (RSC change)

next build failed with code/signal 1

  77 |             if (code || signal)
  78 |               reject(
> 79 |                 new Error(
     |                 ^
  80 |                   `next build failed with code/signal ${code || signal}`
  81 |                 )
  82 |               )

  at ChildProcess.<anonymous> (lib/next-modes/next-start.ts:79:17)

● filesystem-caching with cache enabled › should allow to change files while stopped (RSC change)

next instance is not initialized yet, make sure you call methods on next instance in test body.

  292 |     set: function (_target, key, value) {
  293 |       if (!next) {
> 294 |         throw new Error(
      |               ^
  295 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  296 |         )
  297 |       }

  at Object.set (lib/e2e-utils/index.ts:294:15)
  at Object.<anonymous> (e2e/filesystem-cache/filesystem-cache.test.ts:45:53)

● filesystem-caching with cache enabled › should allow to change files while stopped (RCC change)

next build failed with code/signal 1

  77 |             if (code || signal)
  78 |               reject(
> 79 |                 new Error(
     |                 ^
  80 |                   `next build failed with code/signal ${code || signal}`
  81 |                 )
  82 |               )

  at ChildProcess.<anonymous> (lib/next-modes/next-start.ts:79:17)

● filesystem-caching with cache enabled › should allow to change files while stopped (RCC change)

next instance is not initialized yet, make sure you call methods on next instance in test body.

  292 |     set: function (_target, key, value) {
  293 |       if (!next) {
> 294 |         throw new Error(
      |               ^
  295 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  296 |         )
  297 |       }

  at Object.set (lib/e2e-utils/index.ts:294:15)
  at Object.<anonymous> (e2e/filesystem-cache/filesystem-cache.test.ts:45:53)

● filesystem-caching with cache enabled › should allow to change files while stopped (Pages change)

next build failed with code/signal 1

  77 |             if (code || signal)
  78 |               reject(
> 79 |                 new Error(
     |                 ^
  80 |                   `next build failed with code/signal ${code || signal}`
  81 |                 )
  82 |               )

  at ChildProcess.<anonymous> (lib/next-modes/next-start.ts:79:17)

● filesystem-caching with cache enabled › should allow to change files while stopped (Pages change)

next instance is not initialized yet, make sure you call methods on next instance in test body.

  292 |     set: function (_target, key, value) {
  293 |       if (!next) {
> 294 |         throw new Error(
      |               ^
  295 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  296 |         )
  297 |       }

  at Object.set (lib/e2e-utils/index.ts:294:15)
  at Object.<anonymous> (e2e/filesystem-cache/filesystem-cache.test.ts:45:53)

● filesystem-caching with cache enabled › should allow to change files while stopped (rename app page)

next build failed with code/signal 1

  77 |             if (code || signal)
  78 |               reject(
> 79 |                 new Error(
     |                 ^
  80 |                   `next build failed with code/signal ${code || signal}`
  81 |                 )
  82 |               )

  at ChildProcess.<anonymous> (lib/next-modes/next-start.ts:79:17)

● filesystem-caching with cache enabled › should allow to change files while stopped (rename app page)

next instance is not initialized yet, make sure you call methods on next instance in test body.

  292 |     set: function (_target, key, value) {
  293 |       if (!next) {
> 294 |         throw new Error(
      |               ^
  295 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  296 |         )
  297 |       }

  at Object.set (lib/e2e-utils/index.ts:294:15)
  at Object.<anonymous> (e2e/filesystem-cache/filesystem-cache.test.ts:45:53)

● filesystem-caching with cache enabled › should allow to change files while stopped (next config change)

next build failed with code/signal 1

  77 |             if (code || signal)
  78 |               reject(
> 79 |                 new Error(
     |                 ^
  80 |                   `next build failed with code/signal ${code || signal}`
  81 |                 )
  82 |               )

  at ChildProcess.<anonymous> (lib/next-modes/next-start.ts:79:17)

● filesystem-caching with cache enabled › should allow to change files while stopped (next config change)

next instance is not initialized yet, make sure you call methods on next instance in test body.

  292 |     set: function (_target, key, value) {
  293 |       if (!next) {
> 294 |         throw new Error(
      |               ^
  295 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  296 |         )
  297 |       }

  at Object.set (lib/e2e-utils/index.ts:294:15)
  at Object.<anonymous> (e2e/filesystem-cache/filesystem-cache.test.ts:45:53)

● filesystem-caching with cache enabled › should allow to change files while stopped (env var change)

next build failed with code/signal 1

  77 |             if (code || signal)
  78 |               reject(
> 79 |                 new Error(
     |                 ^
  80 |                   `next build failed with code/signal ${code || signal}`
  81 |                 )
  82 |               )

  at ChildProcess.<anonymous> (lib/next-modes/next-start.ts:79:17)

● filesystem-caching with cache enabled › should allow to change files while stopped (env var change)

next instance is not initialized yet, make sure you call methods on next instance in test body.

  292 |     set: function (_target, key, value) {
  293 |       if (!next) {
> 294 |         throw new Error(
      |               ^
  295 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  296 |         )
  297 |       }

  at Object.set (lib/e2e-utils/index.ts:294:15)
  at Object.<anonymous> (e2e/filesystem-cache/filesystem-cache.test.ts:45:53)

● filesystem-caching with cache enabled › should allow to change files while stopped (RSC change, RCC change, Pages change, rename app page, next config change, env var change)

next build failed with code/signal 1

  77 |             if (code || signal)
  78 |               reject(
> 79 |                 new Error(
     |                 ^
  80 |                   `next build failed with code/signal ${code || signal}`
  81 |                 )
  82 |               )

  at ChildProcess.<anonymous> (lib/next-modes/next-start.ts:79:17)

● filesystem-caching with cache enabled › should allow to change files while stopped (RSC change, RCC change, Pages change, rename app page, next config change, env var change)

next instance is not initialized yet, make sure you call methods on next instance in test body.

  292 |     set: function (_target, key, value) {
  293 |       if (!next) {
> 294 |         throw new Error(
      |               ^
  295 |           'next instance is not initialized yet, make sure you call methods on next instance in test body.'
  296 |         )
  297 |       }

  at Object.set (lib/e2e-utils/index.ts:294:15)
  at Object.<anonymous> (e2e/filesystem-cache/filesystem-cache.test.ts:45:53)

pnpm test-dev-turbo test/development/app-dir/dev-output/dev-output.test.ts (turbopack) (job)

  • multi-zone > should correctly respond for / (DD)
  • multi-zone > should correctly respond for /guest (DD)
  • multi-zone > should correctly respond for /blog/post-1 (DD)
  • multi-zone > should correctly respond for /guest/blog/post-1 (DD)
  • multi-zone > should correctly respond for /guest/another/post-1 (DD)
  • multi-zone > should support HMR in both apps (DD)
Expand output

● multi-zone › should correctly respond for /

thrown: "Exceeded timeout of 120000 ms for a hook.
Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."

  269 |   let next: NextInstance | undefined
  270 |   if (!skipped) {
> 271 |     beforeAll(async () => {
      |     ^
  272 |       next = await createNext(options)
  273 |     })
  274 |     afterAll(async () => {

  at beforeAll (lib/e2e-utils/index.ts:271:5)
  at e2e/multi-zone/multi-zone.test.ts:6:53
  at Object.describe (e2e/multi-zone/multi-zone.test.ts:5:1)

● multi-zone › should correctly respond for /guest

thrown: "Exceeded timeout of 120000 ms for a hook.
Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."

  269 |   let next: NextInstance | undefined
  270 |   if (!skipped) {
> 271 |     beforeAll(async () => {
      |     ^
  272 |       next = await createNext(options)
  273 |     })
  274 |     afterAll(async () => {

  at beforeAll (lib/e2e-utils/index.ts:271:5)
  at e2e/multi-zone/multi-zone.test.ts:6:53
  at Object.describe (e2e/multi-zone/multi-zone.test.ts:5:1)

● multi-zone › should correctly respond for /blog/post-1

thrown: "Exceeded timeout of 120000 ms for a hook.
Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."

  269 |   let next: NextInstance | undefined
  270 |   if (!skipped) {
> 271 |     beforeAll(async () => {
      |     ^
  272 |       next = await createNext(options)
  273 |     })
  274 |     afterAll(async () => {

  at beforeAll (lib/e2e-utils/index.ts:271:5)
  at e2e/multi-zone/multi-zone.test.ts:6:53
  at Object.describe (e2e/multi-zone/multi-zone.test.ts:5:1)

● multi-zone › should correctly respond for /guest/blog/post-1

thrown: "Exceeded timeout of 120000 ms for a hook.
Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."

  269 |   let next: NextInstance | undefined
  270 |   if (!skipped) {
> 271 |     beforeAll(async () => {
      |     ^
  272 |       next = await createNext(options)
  273 |     })
  274 |     afterAll(async () => {

  at beforeAll (lib/e2e-utils/index.ts:271:5)
  at e2e/multi-zone/multi-zone.test.ts:6:53
  at Object.describe (e2e/multi-zone/multi-zone.test.ts:5:1)

● multi-zone › should correctly respond for /guest/another/post-1

thrown: "Exceeded timeout of 120000 ms for a hook.
Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."

  269 |   let next: NextInstance | undefined
  270 |   if (!skipped) {
> 271 |     beforeAll(async () => {
      |     ^
  272 |       next = await createNext(options)
  273 |     })
  274 |     afterAll(async () => {

  at beforeAll (lib/e2e-utils/index.ts:271:5)
  at e2e/multi-zone/multi-zone.test.ts:6:53
  at Object.describe (e2e/multi-zone/multi-zone.test.ts:5:1)

● multi-zone › should support HMR in both apps

thrown: "Exceeded timeout of 120000 ms for a hook.
Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."

  269 |   let next: NextInstance | undefined
  270 |   if (!skipped) {
> 271 |     beforeAll(async () => {
      |     ^
  272 |       next = await createNext(options)
  273 |     })
  274 |     afterAll(async () => {

  at beforeAll (lib/e2e-utils/index.ts:271:5)
  at e2e/multi-zone/multi-zone.test.ts:6:53
  at Object.describe (e2e/multi-zone/multi-zone.test.ts:5:1)

pnpm test-start test/e2e/app-dir/segment-cache/prefetch-runtime/prefetch-runtime.test.ts (job)

  • runtime prefetching > in a page > can completely prefetch a page that uses cookies and no uncached IO (DD)
Expand output

● runtime prefetching › in a page › can completely prefetch a page that uses cookies and no uncached IO

thrown: "Exceeded timeout of 120000 ms for a test.
Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."

  501 |     })
  502 |
> 503 |     it('can completely prefetch a page that uses cookies and no uncached IO', async () => {
      |     ^
  504 |       let page: Playwright.Page
  505 |       const browser = await next.browser('/', {
  506 |         beforePageLoad(p: Playwright.Page) {

  at it (e2e/app-dir/segment-cache/prefetch-runtime/prefetch-runtime.test.ts:503:5)
      at Array.forEach (<anonymous>)
  at e2e/app-dir/segment-cache/prefetch-runtime/prefetch-runtime.test.ts:45:4
  at Object.describe (e2e/app-dir/segment-cache/prefetch-runtime/prefetch-runtime.test.ts:6:1)

@sokra sokra changed the base branch from sokra/task-prio to graphite-base/88339 January 13, 2026 16:39
@sokra sokra force-pushed the graphite-base/88339 branch from dad1033 to dab2e91 Compare January 13, 2026 16:41
@sokra sokra force-pushed the sokra/read-cell-data branch from c751b5e to 193a825 Compare January 13, 2026 16:41
@sokra sokra changed the base branch from graphite-base/88339 to sokra/task-prio January 13, 2026 16:41
@sokra sokra force-pushed the sokra/task-prio branch 2 times, most recently from 5c0fe0f to b9232ff Compare January 13, 2026 20:24
@sokra sokra force-pushed the sokra/read-cell-data branch from 193a825 to 683ed33 Compare January 13, 2026 20:28
@sokra sokra changed the base branch from sokra/task-prio to graphite-base/88339 January 14, 2026 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

created-by: Turbopack team PRs by the Turbopack team. Turbopack Related to Turbopack with Next.js.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants